mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 17:42:58 +00:00
[MSVC]
Fix warnings svn path=/branches/cmake-bringup/; revision=49532
This commit is contained in:
parent
77e17454fa
commit
5f52062082
1 changed files with 2 additions and 2 deletions
|
@ -20,9 +20,9 @@ FileTimeToUnixTime(const FILETIME *FileTime, USHORT *millitm)
|
||||||
ULargeInt.HighPart = FileTime->dwHighDateTime;
|
ULargeInt.HighPart = FileTime->dwHighDateTime;
|
||||||
ULargeInt.QuadPart -= DIFFTIME;
|
ULargeInt.QuadPart -= DIFFTIME;
|
||||||
|
|
||||||
time = ULargeInt.QuadPart / 10000000;
|
time = (time_t)(ULargeInt.QuadPart / 10000000);
|
||||||
if (millitm)
|
if (millitm)
|
||||||
*millitm = (ULargeInt.QuadPart % 10000000) / 10000;
|
*millitm = (USHORT)((ULargeInt.QuadPart % 10000000) / 10000);
|
||||||
|
|
||||||
return time;
|
return time;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue