Chromium Code Reviews| Index: ipc/file_descriptor_set_posix.cc |
| =================================================================== |
| --- ipc/file_descriptor_set_posix.cc (revision 97489) |
| +++ ipc/file_descriptor_set_posix.cc (working copy) |
| @@ -122,7 +122,7 @@ |
| } |
| void FileDescriptorSet::SetDescriptors(const int* buffer, unsigned count) { |
| - DCHECK_LE(count, MAX_DESCRIPTORS_PER_MESSAGE); |
| + DCHECK_LE(count, static_cast<unsigned>(MAX_DESCRIPTORS_PER_MESSAGE)); |
|
Nico
2011/08/19 20:34:23
for msvc i assume. else revert
|
| DCHECK_EQ(descriptors_.size(), 0u); |
| DCHECK_EQ(consumed_descriptor_highwater_, 0u); |