Skip to content
Snippets Groups Projects
Commit 4c700a32 authored by deuce's avatar deuce
Browse files

Put in an explicit cast to a long long int.

parent 5f3a79c0
No related branches found
No related tags found
No related merge requests found
......@@ -515,7 +515,7 @@ long double DLLCALL xp_timer(void)
ret /= ((long double)freq.HighPart*4294967296)+((long double)freq.LowPart);
#else
/* In MSVC, a long double does NOT have 19 decimals of precision */
ret=(tick.QuadPart/freq.QuadPart)
ret=((long long int)(tick.QuadPart/freq.QuadPart))
+(((long double)(tick.QuadPart%freq.QuadPart))/freq.QuadPart);
#endif
}
......
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