Commit aadc2e2e authored by Marian Durkovic's avatar Marian Durkovic

Make branch compile

parent 6f7417ec
...@@ -141,10 +141,11 @@ mtime_t mdate( void ) ...@@ -141,10 +141,11 @@ mtime_t mdate( void )
* the RTC rather than the TSC. If it's anything else, we * the RTC rather than the TSC. If it's anything else, we
* presume that the performance counter is unreliable. * presume that the performance counter is unreliable.
*/ */
LARGE_INTEGER buf;
freq = ( QueryPerformanceFrequency( (LARGE_INTEGER *)&freq ) && freq = ( QueryPerformanceFrequency( &buf ) &&
(buf.QuadPart == I64C(1193182) || buf.QuadPart == I64C(3579545) ) ) (buf.QuadPart == I64C(1193182) || buf.QuadPart == I64C(3579545) ) )
? freq : 0; ? buf.QuadPart : 0;
} }
if( freq != 0 ) if( freq != 0 )
......
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