Skip to content
Snippets Groups Projects
Commit 0eab9361 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 241f5cf8
No related branches found
No related tags found
No related merge requests found
......@@ -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