Integer type name change.
[silc.git] / lib / silcutil / os2 / silcos2util.c
index cbf6c13df5194482539548494efab9650416d66b..4a5877dd8ee737f1d734c80de753775cddaf1a22 100644 (file)
@@ -49,10 +49,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);