projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77e1745
)
[MSVC]
author
Timo Kreuzer
<timo.kreuzer@reactos.org>
Mon, 8 Nov 2010 13:48:45 +0000
(13:48 +0000)
committer
Timo Kreuzer
<timo.kreuzer@reactos.org>
Mon, 8 Nov 2010 13:48:45 +0000
(13:48 +0000)
Fix warnings
svn path=/branches/cmake-bringup/; revision=49532
lib/sdk/crt/include/internal/time.h
patch
|
blob
|
history
diff --git
a/lib/sdk/crt/include/internal/time.h
b/lib/sdk/crt/include/internal/time.h
index
ad72279
..
852bdab
100644
(file)
--- a/
lib/sdk/crt/include/internal/time.h
+++ b/
lib/sdk/crt/include/internal/time.h
@@
-20,9
+20,9
@@
FileTimeToUnixTime(const FILETIME *FileTime, USHORT *millitm)
ULargeInt.HighPart = FileTime->dwHighDateTime;
ULargeInt.QuadPart -= DIFFTIME;
- time =
ULargeInt.QuadPart / 10000000
;
+ time =
(time_t)(ULargeInt.QuadPart / 10000000)
;
if (millitm)
- *millitm = (U
LargeInt.QuadPart % 10000000) / 10000
;
+ *millitm = (U
SHORT)((ULargeInt.QuadPart % 10000000) / 10000)
;
return time;
}