| Index: ipc/ipc_channel_posix.cc
|
| diff --git a/ipc/ipc_channel_posix.cc b/ipc/ipc_channel_posix.cc
|
| index d44c008868a7912699d279eaa1f7ec7a72ceb5e3..e29db799590eea9265192557a08db9907fe17ecf 100644
|
| --- a/ipc/ipc_channel_posix.cc
|
| +++ b/ipc/ipc_channel_posix.cc
|
| @@ -968,7 +968,7 @@ bool Channel::ChannelImpl::GetClientEuid(uid_t* client_euid) const {
|
| PLOG(ERROR) << "getsockopt " << pipe_;
|
| return false;
|
| }
|
| - if (cred_len < sizeof(cred)) {
|
| + if (static_cast<unsigned>(cred_len) < sizeof(cred)) {
|
| NOTREACHED() << "Truncated ucred from SO_PEERCRED?";
|
| return false;
|
| }
|
|
|