Commit bfb6db55 authored by rswindell's avatar rswindell
Browse files

MSVC doesn't support "long long", as reported by toolman.

parent 2191d502
......@@ -516,7 +516,7 @@ long double DLLCALL xp_timer(void)
#else
/* In MSVC, a long double does NOT have 19 decimals of precision */
ret=(((long double)(tick.QuadPart%freq.QuadPart))/freq.QuadPart);
ret+=((long long int)(tick.QuadPart/freq.QuadPart));
ret+=tick.QuadPart/freq.QuadPart;
#endif
}
else {
......
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