Francois Gouget : ntdll: Fix compilation on systems that don' t support nameless unions.

Alexandre Julliard julliard at wine.codeweavers.com
Mon May 21 09:40:18 CDT 2007


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Sun May 20 12:08:48 2007 +0200

ntdll: Fix compilation on systems that don't support nameless unions.

---

 dlls/ntdll/thread.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c
index 30e441d..c97ecd3 100644
--- a/dlls/ntdll/thread.c
+++ b/dlls/ntdll/thread.c
@@ -332,8 +332,8 @@ HANDLE thread_init(void)
 
     /* initialize time values in user_shared_data */
     NtQuerySystemTime( &now );
-    user_shared_data->SystemTime.LowPart = now.LowPart;
-    user_shared_data->SystemTime.High1Time = user_shared_data->SystemTime.High2Time = now.HighPart;
+    user_shared_data->SystemTime.LowPart = now.u.LowPart;
+    user_shared_data->SystemTime.High1Time = user_shared_data->SystemTime.High2Time = now.u.HighPart;
     user_shared_data->u.TickCountQuad = (now.QuadPart - server_start_time) / 10000;
     user_shared_data->u.TickCount.High2Time = user_shared_data->u.TickCount.High1Time;
     user_shared_data->TickCountLowDeprecated = user_shared_data->u.TickCount.LowPart;




More information about the wine-cvs mailing list