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

Alexandre Julliard julliard at winehq.org
Mon Sep 19 13:48:41 CDT 2011


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Sat Sep 17 11:33:29 2011 +0200

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

---

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

diff --git a/dlls/ole32/tests/storage32.c b/dlls/ole32/tests/storage32.c
index b8c6ada..b465269 100644
--- a/dlls/ole32/tests/storage32.c
+++ b/dlls/ole32/tests/storage32.c
@@ -2984,7 +2984,7 @@ static void test_hglobal_storage_creation(void)
 
     r = ILockBytes_Stat(ilb, &stat, STATFLAG_NONAME);
     ok(r == S_OK, "ILockBytes_Stat failed, hr=%x\n", r);
-    ok(stat.cbSize.LowPart < 2512, "expected truncated size, got %d\n", stat.cbSize.LowPart);
+    ok(stat.cbSize.u.LowPart < 2512, "expected truncated size, got %d\n", stat.cbSize.u.LowPart);
 
     ILockBytes_Release(ilb);
 }




More information about the wine-cvs mailing list