mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-04-26 08:36:28 +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.