Index: ipc/sync_socket_unittest.cc |
=================================================================== |
--- ipc/sync_socket_unittest.cc (revision 51254) |
+++ ipc/sync_socket_unittest.cc (working copy) |
@@ -195,7 +195,7 @@ |
socket_->Receive(static_cast<void*>(buf), kHelloStringLength); |
EXPECT_EQ(strcmp(str.c_str(), buf), 0); |
// After receiving from the socket there should be no bytes left. |
- EXPECT_EQ(0, socket_->Peek()); |
+ EXPECT_EQ(static_cast<size_t>(0), socket_->Peek()); |
Mark Mentovai
2010/06/30 18:30:22
0U
|
IPC::Message* msg = new MsgClassShutdown(); |
EXPECT_TRUE(chan_->Send(msg)); |
MessageLoop::current()->Quit(); |
@@ -220,8 +220,8 @@ |
base::SyncSocket* pair[2]; |
base::SyncSocket::CreatePair(pair); |
// Immediately after creation there should be no pending bytes. |
- EXPECT_EQ(0, pair[0]->Peek()); |
- EXPECT_EQ(0, pair[1]->Peek()); |
+ EXPECT_EQ(static_cast<size_t>(0), pair[0]->Peek()); |
Mark Mentovai
2010/06/30 18:30:22
Throughout.
|
+ EXPECT_EQ(static_cast<size_t>(0), pair[1]->Peek()); |
base::SyncSocket::Handle target_handle; |
// Connect the channel and listener. |
ASSERT_TRUE(chan.Connect()); |