diff options
-rw-r--r-- | base/waitable_event_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/waitable_event_win.cc b/base/waitable_event_win.cc index ac85c5c..21ee0a9 100644 --- a/base/waitable_event_win.cc +++ b/base/waitable_event_win.cc @@ -86,7 +86,7 @@ size_t WaitableEvent::WaitMany(WaitableEvent** events, size_t count) { WaitForMultipleObjects(count, handles, FALSE, // don't wait for all the objects INFINITE); // no timeout - if (result < WAIT_OBJECT_0 || result >= WAIT_OBJECT_0 + count) { + if (result >= WAIT_OBJECT_0 + count) { NOTREACHED() << "WaitForMultipleObjects failed: " << GetLastError(); return 0; } |