mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-31 20:52:09 +00:00
The type of the QuadPart member of the LARGE_INTEGER union is actually LONGLONG, so we should cast to LONGLONG instead of int. This avoids truncation should (ms * 10000.0f) exceed 2^31-1.