Francois Gouget : windowscodecs/tests: Fix compilation on systems that don' t support nameless structs.

Alexandre Julliard julliard at winehq.org
Wed Jun 6 15:35:19 CDT 2012


Module: wine
Branch: master
Commit: 624ad399f18c5204523672f7b6d6c1f1b3519c2e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=624ad399f18c5204523672f7b6d6c1f1b3519c2e

Author: Francois Gouget <fgouget at free.fr>
Date:   Wed Jun  6 11:09:25 2012 +0200

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

---

 dlls/windowscodecs/tests/metadata.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/windowscodecs/tests/metadata.c b/dlls/windowscodecs/tests/metadata.c
index 1292bbf..70a3913 100644
--- a/dlls/windowscodecs/tests/metadata.c
+++ b/dlls/windowscodecs/tests/metadata.c
@@ -386,7 +386,7 @@ static void test_metadata_IFD(void)
         ok(id.vt == VT_UI2, "%u: unexpected vt: %u\n", i, id.vt);
         ok(U(id).uiVal == td[i].id, "%u: unexpected id: %#x\n", i, U(id).uiVal);
         ok(value.vt == td[i].type, "%u: unexpected vt: %u\n", i, value.vt);
-        ok(U(value).uhVal.QuadPart == td[i].value, "%u: unexpected id: %d/%d\n", i, U(value).uhVal.LowPart, U(value).uhVal.HighPart);
+        ok(U(value).uhVal.QuadPart == td[i].value, "%u: unexpected id: %d/%d\n", i, U(value).uhVal.u.LowPart, U(value).uhVal.u.HighPart);
 
         PropVariantClear(&schema);
         PropVariantClear(&id);




More information about the wine-cvs mailing list