This commit is contained in:
Mariusz B. / mgeeky
2021-10-03 02:30:08 +02:00
parent 59fbc055c4
commit 37490f57f5
+1 -1
View File
@@ -134,7 +134,7 @@ bool hookSleep()
g_hookedSleep.origSleep = reinterpret_cast<typeSleep>(Sleep); g_hookedSleep.origSleep = reinterpret_cast<typeSleep>(Sleep);
if (!fastTrampoline(true, (BYTE*)::Sleep, &MySleep, &buffers)) if (!fastTrampoline(true, (BYTE*)::Sleep, (void*)&MySleep, &buffers))
return false; return false;
return true; return true;