Various fiddlings.

This commit is contained in:
Ben Vanik
2014-06-22 19:41:26 -07:00
parent a5448b1296
commit 71eb408d67
9 changed files with 77 additions and 8 deletions

View File

@@ -1129,7 +1129,7 @@ SHIM_CALL NtWaitForSingleObjectEx_shim(
uint64_t timeout = timeout_ptr ? SHIM_MEM_64(timeout_ptr) : 0;
result = object->Wait(
3, wait_mode, alertable,
timeout_ptr ? &timeout : NULL);
timeout_ptr ? &timeout : NULL);
object->Release();
}