mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-18 19:23:56 +00:00
Apply review suggested change
This commit is contained in:
@@ -454,7 +454,7 @@ namespace syscalls
|
||||
const emulator_object<IO_STATUS_BLOCK<EmulatorTraits<Emu64>>> /*io_status_block*/,
|
||||
const emulator_object<LARGE_INTEGER> timeout)
|
||||
{
|
||||
if (timeout.value() && timeout.read().QuadPart == 0)
|
||||
if (timeout && timeout.read().QuadPart == 0)
|
||||
{
|
||||
return STATUS_TIMEOUT;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user