From 1766918ddac9a436ae2d60eef85ab1e5bec779ab Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Sun, 14 Oct 2007 14:34:58 +0200 Subject: [PATCH] oleaut32/tests: Fix compilation on systems that don't support nameless unions. --- dlls/oleaut32/tests/typelib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/oleaut32/tests/typelib.c b/dlls/oleaut32/tests/typelib.c index a52029c5b5e..e022b8263de 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)