Corrected bug: passing value of Adjustment rather than address.

svn path=/trunk/; revision=7223
This commit is contained in:
Art Yerkes 2003-12-25 05:48:35 +00:00
parent 6e2e1c2fa5
commit db0182fe34

View file

@ -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)