Module: wine Branch: master Commit: 5aca2dd9642eb698bce560978223af4b5457f29d URL: http://source.winehq.org/git/wine.git/?a=commit;h=5aca2dd9642eb698bce5609782...
Author: Francois Gouget fgouget@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);