Commit 1b0a5608 authored by Sam Hocevar's avatar Sam Hocevar

* Win32 timer bug (0x100000000 * 1000 != 0x100000000000).

parent f72bd14a
......@@ -201,7 +201,7 @@ mtime_t mdate( void )
{
/* Counter wrapped */
i_wrap_counts++;
usec_time += I64C(0x100000000000);
usec_time += I64C(0x100000000) * 1000;
}
i_previous_time = usec_time;
LeaveCriticalSection( &date_lock );
......
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