fix compiler warnings

This commit is contained in:
oltolm committed 2025-02-22 14:15:15 +01:00
1 parent 16d866a482
commit 02e767866a
19 files changed
+115 -33

No files matched your search

+1 -1
View File
@@ -285,7 +285,7 @@ void sleep_precise(double seconds) {
LARGE_INTEGER due;
due.QuadPart = -(sleepTicks > maxTicks ? maxTicks : sleepTicks);
// Note: SetWaitableTimerEx is not available on Vista.
SetWaitableTimer(Timer, &due, 0, NULL, NULL, NULL);
SetWaitableTimer(Timer, &due, 0, NULL, NULL, FALSE);
WaitForSingleObject(Timer, INFINITE);
QueryPerformanceCounter(&qpc);
}