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

Alexandre Julliard julliard at wine.codeweavers.com
Mon May 25 08:41:16 CDT 2015


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Sat May 23 13:53:06 2015 +0200

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

---

 dlls/kernel32/tests/time.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/kernel32/tests/time.c b/dlls/kernel32/tests/time.c
index d205174..0bcde1e 100644
--- a/dlls/kernel32/tests/time.c
+++ b/dlls/kernel32/tests/time.c
@@ -765,8 +765,8 @@ static void test_GetDynamicTimeZoneInformation(void)
 static ULONGLONG get_longlong_time(FILETIME *time)
 {
     ULARGE_INTEGER uli;
-    uli.LowPart = time->dwLowDateTime;
-    uli.HighPart = time->dwHighDateTime;
+    uli.u.LowPart = time->dwLowDateTime;
+    uli.u.HighPart = time->dwHighDateTime;
     return uli.QuadPart;
 }
 




More information about the wine-cvs mailing list