mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
Corrected bug: passing value of Adjustment rather than address.
svn path=/trunk/; revision=7223
This commit is contained in:
parent
6e2e1c2fa5
commit
db0182fe34
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue