ntdll: Fix compilation on systems that don't support nameless
unions.
Francois Gouget
fgouget at free.fr
Sun May 20 05:08:48 CDT 2007
---
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;
--
1.4.4.4
More information about the wine-patches
mailing list