oleaut32/tests: Fix compilation on systems that don't support nameless unions.
Francois Gouget
fgouget at free.fr
Sun Oct 14 07:34:58 CDT 2007
---
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)
--
1.5.3.2
More information about the wine-patches
mailing list