mirror of
https://github.com/pbatard/rufus.git
synced 2025-06-08 02:14:45 -04:00
[misc] fix Y2K38 related Coverity warnings
This commit is contained in:
parent
d9e8b8caeb
commit
2cf183e9f1
5 changed files with 23 additions and 15 deletions
|
@ -465,7 +465,7 @@ static LPFILETIME __inline to_filetime(time_t t)
|
|||
{
|
||||
static int i = 0;
|
||||
static FILETIME ft[3], *r;
|
||||
LONGLONG ll = Int32x32To64(t, 10000000) + 116444736000000000;
|
||||
LONGLONG ll = (t * 10000000LL) + 116444736000000000LL;
|
||||
|
||||
r = &ft[i];
|
||||
r->dwLowDateTime = (DWORD)ll;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue