win: improve timestamp precision in TIME_T_TO_FILETIME
The TIME_T_TO_FILETIME macro currently truncates the fractional part of the tick count when converting from double. This leads to precision errors similar to those fixed in the Unix implementation. This commit adds rounding to the macro to ensure better consistency and pass the new nanosecond precision tests.
This commit is contained in:
parent
19d7a319ba
commit
862794da51
1267
src/win/fs.c
1267
src/win/fs.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user