windowscodecs/tests: Fix compilation on systems that don't support nameless unions.

Francois Gouget fgouget at free.fr
Sat Apr 11 09:28:19 CDT 2015


---
 dlls/windowscodecs/tests/metadata.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/windowscodecs/tests/metadata.c b/dlls/windowscodecs/tests/metadata.c
index 1818b26..6c2d6b7 100644
--- a/dlls/windowscodecs/tests/metadata.c
+++ b/dlls/windowscodecs/tests/metadata.c
@@ -451,7 +451,7 @@ static void test_metadata_gAMA(void)
     PropVariantClear(&id);
 
     ok(value.vt == VT_UI4, "unexpected vt: %i\n", value.vt);
-    ok(value.ulVal == 33333, "unexpected value: %u\n", value.ulVal);
+    ok(U(value).ulVal == 33333, "unexpected value: %u\n", U(value).ulVal);
     PropVariantClear(&value);
 
     IWICMetadataReader_Release(reader);
-- 
2.1.4



More information about the wine-patches mailing list