| Index: ipc/ipc_channel_posix.cc
|
| ===================================================================
|
| --- ipc/ipc_channel_posix.cc (revision 97489)
|
| +++ ipc/ipc_channel_posix.cc (working copy)
|
| @@ -800,7 +800,8 @@
|
| struct cmsghdr *cmsg;
|
| const unsigned num_fds = msg->file_descriptor_set()->size();
|
|
|
| - DCHECK_LE(num_fds, FileDescriptorSet::MAX_DESCRIPTORS_PER_MESSAGE);
|
| + DCHECK_LE(num_fds, static_cast<unsigned>(
|
| + FileDescriptorSet::MAX_DESCRIPTORS_PER_MESSAGE));
|
| if (msg->file_descriptor_set()->ContainsDirectoryDescriptor()) {
|
| LOG(FATAL) << "Panic: attempting to transport directory descriptor over"
|
| " IPC. Aborting to maintain sandbox isolation.";
|
|
|