diff options
Diffstat (limited to 'source/kit/file.c')
-rw-r--r-- | source/kit/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/kit/file.c b/source/kit/file.c index 6a7f740..4893823 100644 --- a/source/kit/file.c +++ b/source/kit/file.c @@ -371,8 +371,8 @@ kit_file_info_t kit_file_info(kit_str_t path) { if (f != INVALID_HANDLE_VALUE) { FILETIME ft; if (GetFileTime(f, NULL, NULL, &ft) != 0) { - ui64 nsec100 = (((ui64) ft.dwHighDateTime) << 32) | - (ui64) ft.dwLowDateTime; + i64 nsec100 = (((i64) ft.dwHighDateTime) << 32) | + (i64) ft.dwLowDateTime; result.time_modified_sec = (i64) (nsec100 / 10000000); result.time_modified_nsec = (i32) (100 * (nsec100 % 10000000)); } else { |