Commit f0a83672 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Resolve new msvc warning

warning C4244: '=': conversion from 'double' to 'uint64_t', possible loss of data
parent c3c6d783
Pipeline #2721 failed with stage
in 16 minutes and 59 seconds
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment