From 820d9540959bef0c88c41568264d60b51ea9985b Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Sun, 20 May 2007 12:08:48 +0200 Subject: [PATCH] ntdll: Fix compilation on systems that don't support nameless unions. --- dlls/ntdll/thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c index 30e441ddb0..c97ecd3806 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; -- 2.32.0.93.g670b81a890