[PATCH 3/4] dsound/tests: Use nameless unions.

Andrew Eikum aeikum at codeweavers.com
Tue Mar 30 16:16:52 CDT 2021


Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>

On Tue, Mar 30, 2021 at 08:09:48PM +0200, Jacek Caban wrote:
> Signed-off-by: Jacek Caban <jacek at codeweavers.com>
> ---
>  dlls/dsound/tests/Makefile.in | 1 -
>  dlls/dsound/tests/dsound8.c   | 2 +-
>  2 files changed, 1 insertion(+), 2 deletions(-)
> 
> 

> diff --git a/dlls/dsound/tests/Makefile.in b/dlls/dsound/tests/Makefile.in
> index 733516853bb2..234b49b1bbab 100644
> --- a/dlls/dsound/tests/Makefile.in
> +++ b/dlls/dsound/tests/Makefile.in
> @@ -1,6 +1,5 @@
>  TESTDLL   = dsound.dll
>  IMPORTS   = dmoguids dsound msdmo ole32 version user32
> -EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
>  
>  C_SRCS = \
>  	capture.c \
> diff --git a/dlls/dsound/tests/dsound8.c b/dlls/dsound/tests/dsound8.c
> index 85272dd9b55e..e3adbfbe70e7 100644
> --- a/dlls/dsound/tests/dsound8.c
> +++ b/dlls/dsound/tests/dsound8.c
> @@ -1112,7 +1112,7 @@ static void test_first_device(void)
>      hr = IPropertyStore_GetValue(ps, &PKEY_AudioEndpoint_GUID, &pv);
>      ok(hr == S_OK, "GetValue failed: %08x\n", hr);
>  
> -    CLSIDFromString(pv.u.pwszVal, &default_info.guid);
> +    CLSIDFromString(pv.pwszVal, &default_info.guid);
>  
>      PropVariantClear(&pv);
>      IPropertyStore_Release(ps);
> 




More information about the wine-devel mailing list