From 5aca2dd9642eb698bce560978223af4b5457f29d Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Sat, 27 Mar 2010 16:54:22 +0100 Subject: [PATCH] gdiplus/tests: Fix compilation on systems that don't support nameless unions. --- dlls/gdiplus/tests/image.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/gdiplus/tests/image.c b/dlls/gdiplus/tests/image.c index f0dc6811506..262f9a226fb 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); -- 2.11.4.GIT