engine: platform: sys_win: fixed compiling error

This commit is contained in:
SNMetamorph 2025-02-15 14:40:03 +04:00 committed by Alibek Omarov
parent 7ba2209124
commit 2465782a3e

View file

@ -84,7 +84,7 @@ qboolean Win32_NanoSleep( int nsec )
if( !g_waitable_timer )
return false;
ts.QuadPart = { -nsec / 100 };
ts.QuadPart = -nsec / 100;
if( !SetWaitableTimer( g_waitable_timer, &ts, 0, NULL, NULL, FALSE ))
{