summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipc/ipc_sync_channel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/ipc_sync_channel.cc b/ipc/ipc_sync_channel.cc
index d34ea6f..81f8dc1 100644
--- a/ipc/ipc_sync_channel.cc
+++ b/ipc/ipc_sync_channel.cc
@@ -422,7 +422,7 @@ void SyncChannel::WaitForReply(WaitableEvent* pump_messages_event) {
};
unsigned count = pump_messages_event ? 3: 2;
- unsigned result = WaitableEvent::WaitMany(objects, count);
+ size_t result = WaitableEvent::WaitMany(objects, count);
if (result == 0 /* dispatch event */) {
// We're waiting for a reply, but we received a blocking synchronous
// call. We must process it or otherwise a deadlock might occur.