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

Alexandre Julliard julliard at winehq.org
Mon Mar 29 09:57:49 CDT 2010


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Sat Mar 27 16:54:22 2010 +0100

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

---

 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);




More information about the wine-cvs mailing list