summaryrefslogtreecommitdiffstats
path: root/base/waitable_event_posix.cc
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-15 23:40:24 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-15 23:40:24 +0000
commit550a1a41b2a94ffcb28b79ec935fb3a36adc2aa0 (patch)
tree573d1f9af7ff5c581fc7dc75015bd3ae7afac998 /base/waitable_event_posix.cc
parent63a033f21f618adffcd59061a92c82d49846ecd6 (diff)
downloadchromium_src-550a1a41b2a94ffcb28b79ec935fb3a36adc2aa0.zip
chromium_src-550a1a41b2a94ffcb28b79ec935fb3a36adc2aa0.tar.gz
chromium_src-550a1a41b2a94ffcb28b79ec935fb3a36adc2aa0.tar.bz2
Mac build fix
Review URL: http://codereview.chromium.org/18122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8138 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/waitable_event_posix.cc')
-rw-r--r--base/waitable_event_posix.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/waitable_event_posix.cc b/base/waitable_event_posix.cc
index f0a77fa..335f13e 100644
--- a/base/waitable_event_posix.cc
+++ b/base/waitable_event_posix.cc
@@ -302,9 +302,9 @@ size_t WaitableEvent::WaitMany(WaitableEvent** raw_waitables,
// which was signaled, from the end of the array.
// -----------------------------------------------------------------------------
// static
-unsigned WaitableEvent::EnqueueMany
+size_t WaitableEvent::EnqueueMany
(std::pair<WaitableEvent*, size_t>* waitables,
- unsigned count, Waiter* waiter) {
+ size_t count, Waiter* waiter) {
if (!count)
return 0;
@@ -316,7 +316,7 @@ unsigned WaitableEvent::EnqueueMany
return count;
}
- const unsigned r = EnqueueMany(waitables + 1, count - 1, waiter);
+ const size_t r = EnqueueMany(waitables + 1, count - 1, waiter);
if (r) {
waitables[0].first->lock_.Release();
} else {