Author: tkreuzer
Date: Mon Nov 8 13:48:45 2010
New Revision: 49532
URL:
http://svn.reactos.org/svn/reactos?rev=49532&view=rev
Log:
[MSVC]
Fix warnings
Modified:
branches/cmake-bringup/lib/sdk/crt/include/internal/time.h
Modified: branches/cmake-bringup/lib/sdk/crt/include/internal/time.h
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/sdk/crt/inclu…
==============================================================================
--- branches/cmake-bringup/lib/sdk/crt/include/internal/time.h [iso-8859-1] (original)
+++ branches/cmake-bringup/lib/sdk/crt/include/internal/time.h [iso-8859-1] Mon Nov 8
13:48:45 2010
@@ -20,9 +20,9 @@
ULargeInt.HighPart = FileTime->dwHighDateTime;
ULargeInt.QuadPart -= DIFFTIME;
- time = ULargeInt.QuadPart / 10000000;
+ time = (time_t)(ULargeInt.QuadPart / 10000000);
if (millitm)
- *millitm = (ULargeInt.QuadPart % 10000000) / 10000;
+ *millitm = (USHORT)((ULargeInt.QuadPart % 10000000) / 10000);
return time;
}