Jacek Caban : dsound/tests: Use nameless unions.

Alexandre Julliard julliard at winehq.org
Wed Mar 31 15:55:13 CDT 2021


Module: wine
Branch: master
Commit: fa54a0b30602349dba922481303704546999ca99
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=fa54a0b30602349dba922481303704546999ca99

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Tue Mar 30 20:09:48 2021 +0200

dsound/tests: Use nameless unions.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 733516853bb..234b49b1bba 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 85272dd9b55..e3adbfbe70e 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-cvs mailing list