Integer type name change.
[silc.git] / lib / silcutil / win32 / silcwin32util.c
index c8d9c9bf5304c99713640783054c43bd561d9025..d7051c384abcd5424d3d77e54fa9300c7b5e7a4e 100644 (file)
@@ -51,10 +51,10 @@ const BYTE DWLEN = sizeof(DWORD) * 8;
 int silc_gettimeofday(struct timeval *tv)
 {
   FILETIME ft;
-  __int64 msec;
+  __SilcInt64 msec;
   
   GetSystemTimeAsFileTime(&ft);
-  msec = (__int64) ft.dwHighDateTime << DWLEN | ft.dwLowDateTime;
+  msec = (__SilcInt64) ft.dwHighDateTime << DWLEN | ft.dwLowDateTime;
   msec = (msec - FILETIME_1970) / 10;
   tv->tv_sec  = (long) (msec / 1000000);
   tv->tv_usec = (long) (msec % 1000000);