From 392a41b4411e248d076cdb40042e9f5d1b144b55 Mon Sep 17 00:00:00 2001 From: Damien Doligez Date: Mon, 20 Jul 2015 11:09:25 +0000 Subject: [PATCH] fix small problem introduced by merging 4.02 git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16219 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- otherlibs/win32unix/gettimeofday.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otherlibs/win32unix/gettimeofday.c b/otherlibs/win32unix/gettimeofday.c index f4e25b5ff..34f00f3ec 100644 --- a/otherlibs/win32unix/gettimeofday.c +++ b/otherlibs/win32unix/gettimeofday.c @@ -25,6 +25,6 @@ CAMLprim value unix_gettimeofday(value unit) FILETIME ft; double tm; GetSystemTimeAsFileTime(&ft); - tm = *(uint64 *)&ft - epoch_ft; /* shift to Epoch-relative time */ + tm = *(uint64_t *)&ft - epoch_ft; /* shift to Epoch-relative time */ return copy_double(tm * 1e-7); /* tm is in 100ns */ }