Skip to content
Snippets Groups Projects
Commit bfb6db55 authored by rswindell's avatar rswindell
Browse files

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

parent 2191d502
Branches
Tags
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment