Index: base/synchronization/waitable_event_win.cc |
diff --git a/base/synchronization/waitable_event_win.cc b/base/synchronization/waitable_event_win.cc |
index 4db56277b7cdbaff42582dac2212fd50b79c01e0..2d6d7348755b4c67f37383064da45288e215bc17 100644 |
--- a/base/synchronization/waitable_event_win.cc |
+++ b/base/synchronization/waitable_event_win.cc |
@@ -73,7 +73,7 @@ bool WaitableEvent::TimedWait(const TimeDelta& max_time) { |
size_t WaitableEvent::WaitMany(WaitableEvent** events, size_t count) { |
base::ThreadRestrictions::AssertWaitAllowed(); |
HANDLE handles[MAXIMUM_WAIT_OBJECTS]; |
- CHECK_LE(count, MAXIMUM_WAIT_OBJECTS) |
+ CHECK_LE(count, static_cast<size_t>(MAXIMUM_WAIT_OBJECTS)) |
<< "Can only wait on " << MAXIMUM_WAIT_OBJECTS << " with WaitMany"; |
for (size_t i = 0; i < count; ++i) |