From db0182fe3481270f30e9c7ec0b02e9f3a43bee90 Mon Sep 17 00:00:00 2001 From: Art Yerkes Date: Thu, 25 Dec 2003 05:48:35 +0000 Subject: [PATCH] Corrected bug: passing value of Adjustment rather than address. svn path=/trunk/; revision=7223 --- reactos/lib/adns/adns_win32/adns_unix_calls.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/reactos/lib/adns/adns_win32/adns_unix_calls.c b/reactos/lib/adns/adns_win32/adns_unix_calls.c index 3d084ae8806..ee6bd2066de 100644 --- a/reactos/lib/adns/adns_win32/adns_unix_calls.c +++ b/reactos/lib/adns/adns_win32/adns_unix_calls.c @@ -1,4 +1,3 @@ - /* * adns_unix_calls.c * - Simple implementation of requiered UNIX system calls and @@ -73,7 +72,7 @@ int gettimeofday(struct timeval *tv, struct timezone *tz) if (!Adjustment) { SYSTEMTIME st = {1970,1,3,0,0,0,0}; - SystemTimeToFileTime(&st, (LPFILETIME)Adjustment); + SystemTimeToFileTime(&st, (LPFILETIME)&Adjustment); } if (tz)