Closed GregoryLakewood closed 5 months ago
LGTM. As this won't affect (non-artificial) timestamps for 14 years, I won't be cutting a release specifically for this.
Thank you.
@jhpratt Could you look into this? I found this bug because I am getting Err(IndeterminateOffset)
on my machine.
That breaks some Rust tools I use, specifically probe-rs.
From my understanding 31bit in lower FILETIME DWORD toggles every 2^31*100 nanoseconds what equals roughly 3 and half minutes.
Ha, I wasn't thinking of the fact that it represents 100 nanosecond intervals. I was only off by a factor of ten million.
I'll be having another release later today.
Released.
Casting
u32
intoi32
and then extending intoi64
does not hold the value whenval_u32 > i32::MAX
. As explained in Microsoft Documentation one should firstly constructu64
fromFILETIME
and then perform arithmetics.