Index: net/quic/quic_server.cc |
diff --git a/net/quic/quic_server.cc b/net/quic/quic_server.cc |
index fecb4e51de2ad514c4dbe330948a6ccd979effa4..7b0f45400ec85a67c681577894892805556e01d1 100644 |
--- a/net/quic/quic_server.cc |
+++ b/net/quic/quic_server.cc |
@@ -74,7 +74,8 @@ int QuicServer::Listen(const IPEndPoint& address) { |
// These send and receive buffer sizes are sized for a single connection, |
// because the default usage of QuicServer is as a test server with one or |
// two clients. Adjust higher for use with many clients. |
- rc = socket->SetReceiveBufferSize(TcpReceiver::kReceiveWindowTCP); |
+ rc = socket->SetReceiveBufferSize( |
+ static_cast<int32>(TcpReceiver::kReceiveWindowTCP)); |
if (rc < 0) { |
LOG(ERROR) << "SetReceiveBufferSize() failed: " << ErrorToString(rc); |
return rc; |