diff options
Diffstat (limited to 'winsup/cygwin/times.cc')
-rw-r--r-- | winsup/cygwin/times.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/times.cc b/winsup/cygwin/times.cc index 336a649da..6dbdc0107 100644 --- a/winsup/cygwin/times.cc +++ b/winsup/cygwin/times.cc @@ -150,8 +150,9 @@ hires_ms NO_COPY gtod; /* FIXME: Make thread safe */ extern "C" int -gettimeofday (struct timeval *tv, struct timezone *tz) +gettimeofday (struct timeval *tv, void *tzvp) { + struct timezone *tz = (struct timezone *) tzvp; static bool tzflag; LONGLONG now = gtod.usecs (); |