summaryrefslogtreecommitdiff
path: root/source/sys_win.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/sys_win.c')
-rw-r--r--source/sys_win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/sys_win.c b/source/sys_win.c
index 06d6ebd..b1c4c09 100644
--- a/source/sys_win.c
+++ b/source/sys_win.c
@@ -631,7 +631,7 @@ MISC
static inline time_t Sys_FileTimeToUnixTime( FILETIME *f ) {
ULARGE_INTEGER u = *( ULARGE_INTEGER * )f;
- return ( time_t )( ( u.QuadPart - 116444736000000000U ) / 10000000 );
+ return ( time_t )( ( u.QuadPart - 116444736000000000ULL ) / 10000000 );
}
unsigned Sys_Milliseconds( void ) {