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

Resolve new msvc warning

warning C4244: '=': conversion from 'double' to 'uint64_t', possible loss of data
parent c3c6d783
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2721 failed
......@@ -855,7 +855,7 @@ uint64_t xp_timer64(void)
if (intable)
ret = tick.QuadPart / (freq.QuadPart / 1000);
else
ret = ((double)tick.QuadPart)/(((double)freq.QuadPart) / 1000);
ret = (uint64_t)(((double)tick.QuadPart)/(((double)freq.QuadPart) / 1000));
}
else {
ret=GetTickCount();
......
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