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

Alexandre Julliard julliard at winehq.org
Mon May 6 14:08:44 CDT 2013


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Sat May  4 09:26:05 2013 +0200

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

---

 dlls/fusion/tests/asmcache.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/fusion/tests/asmcache.c b/dlls/fusion/tests/asmcache.c
index 320a938..da39505 100644
--- a/dlls/fusion/tests/asmcache.c
+++ b/dlls/fusion/tests/asmcache.c
@@ -822,11 +822,11 @@ static void create_assembly(LPCSTR file)
     assembly.tableshdr.MaskValid.u.LowPart = 0x00000005;
     assembly.tableshdr.MaskSorted.u.HighPart = 0x1600;
     assembly.tableshdr.MaskSorted.u.LowPart = 0x3301FA00;
-    U1(assembly.labelres).Name = 0x10;
+    U(assembly.labelres).Name = 0x10;
     U2(assembly.labelres).OffsetToData = 0x80000018;
-    U1(assembly.label11res).Name = 0x1;
+    U(assembly.label11res).Name = 0x1;
     U2(assembly.label11res).OffsetToData = 0x80000030;
-    U1(assembly.label10res).Name = 0x0;
+    U(assembly.label10res).Name = 0x0;
     U2(assembly.label10res).OffsetToData = 0x48;
 
     hfile = CreateFileA(file, GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, 0, 0);




More information about the wine-cvs mailing list