Skip to content
Snippets Groups Projects
Commit 7a3dcb6c authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix MSVC warning in xp_timer64()

genwrap.c(855): warning C4244: '=': conversion from 'LONGLONG' to 'uint32_t', possible loss of data
parent cff6d991
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -852,7 +852,7 @@ uint64_t xp_timer64(void)
intable = (freq.QuadPart % 1000) == 0;
if (intable)
msfreq = freq.QuadPart / 1000;
msfreq = (uint32_t)(freq.QuadPart / 1000);
else
msdfreq = ((double)freq.QuadPart) / 1000;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment