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

Alexandre Julliard julliard at winehq.org
Mon Oct 15 11:28:00 CDT 2007


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Sun Oct 14 14:34:58 2007 +0200

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

---

 dlls/oleaut32/tests/typelib.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/oleaut32/tests/typelib.c b/dlls/oleaut32/tests/typelib.c
index a52029c..e022b82 100644
--- a/dlls/oleaut32/tests/typelib.c
+++ b/dlls/oleaut32/tests/typelib.c
@@ -1193,8 +1193,8 @@ static const interface_info info[] = {
 };
 
 #define check_type(elem, info) { \
-    expect_int((elem)->tdesc.vt, (info)->vt); \
-    expect_hex((elem)->paramdesc.wParamFlags, (info)->wParamFlags); \
+      expect_int((elem)->tdesc.vt, (info)->vt);                     \
+      expect_hex(U(*(elem)).paramdesc.wParamFlags, (info)->wParamFlags); \
   }
 
 static void test_dump_typelib(const char *name)




More information about the wine-cvs mailing list