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

Francois Gouget fgouget at free.fr
Sat Mar 27 10:54:22 CDT 2010


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

diff --git a/dlls/gdiplus/tests/image.c b/dlls/gdiplus/tests/image.c
index f0dc681..262f9a2 100644
--- a/dlls/gdiplus/tests/image.c
+++ b/dlls/gdiplus/tests/image.c
@@ -913,7 +913,7 @@ static void test_loadwmf(void)
         expect(0, header.Y);
         todo_wine expect(320, header.Width);
         todo_wine expect(320, header.Height);
-        todo_wine expect(1, header.WmfHeader.mtType);
+        todo_wine expect(1, U(header).WmfHeader.mtType);
         expect(0, header.EmfPlusHeaderSize);
         expect(0, header.LogicalDpiX);
         expect(0, header.LogicalDpiY);
@@ -971,7 +971,7 @@ static void test_createfromwmf(void)
         expect(0, header.Y);
         todo_wine expect(320, header.Width);
         todo_wine expect(320, header.Height);
-        todo_wine expect(1, header.WmfHeader.mtType);
+        todo_wine expect(1, U(header).WmfHeader.mtType);
         expect(0, header.EmfPlusHeaderSize);
         expect(0, header.LogicalDpiX);
         expect(0, header.LogicalDpiY);
-- 
1.7.0




More information about the wine-patches mailing list