Index: net/quic/congestion_control/cubic.cc |
diff --git a/net/quic/congestion_control/cubic.cc b/net/quic/congestion_control/cubic.cc |
index eaec6218ff4a0b23736feb0503fa0f6e4679123c..55ce8037cedb0c8ede254df8023f89286814f61a 100644 |
--- a/net/quic/congestion_control/cubic.cc |
+++ b/net/quic/congestion_control/cubic.cc |
@@ -161,8 +161,8 @@ QuicPacketCount Cubic::CongestionWindowAfterAck( |
// suddenly, leading to more than one iteration through the following loop. |
while (true) { |
// Update estimated TCP congestion_window. |
- uint32 required_ack_count = |
- estimated_tcp_congestion_window_ / Alpha(); |
+ QuicPacketCount required_ack_count = static_cast<QuicPacketCount>( |
+ estimated_tcp_congestion_window_ / Alpha()); |
if (acked_packets_count_ < required_ack_count) { |
break; |
} |