Skip to content
Snippets Groups Projects
Commit 41cf1e8b authored by Andrew Whittle's avatar Andrew Whittle
Browse files

Beautification edit as per fireice-uk's suggestion

Makes casting more explicit.
parent 01d6723d
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ extern "C" void compat_usleep(uint64_t waitTime)
HANDLE timer;
LARGE_INTEGER ft;
ft.QuadPart = -10*(LONGLONG)waitTime; // Convert to 100 nanosecond interval, negative value indicates relative time
ft.QuadPart = -10ll * int64_t(waitTime); // Convert to 100 nanosecond interval, negative value indicates relative time
timer = CreateWaitableTimer(NULL, TRUE, NULL);
SetWaitableTimer(timer, &ft, 0, NULL, NULL, 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment