Index: net/quic/crypto/crypto_framer.cc |
diff --git a/net/quic/crypto/crypto_framer.cc b/net/quic/crypto/crypto_framer.cc |
index 029ec5303724fd9cff9443248a90d6f7f1faf032..79e17edbf1b79beffe1d6382d81f135f28c89461 100644 |
--- a/net/quic/crypto/crypto_framer.cc |
+++ b/net/quic/crypto/crypto_framer.cc |
@@ -112,7 +112,7 @@ QuicData* CryptoFramer::ConstructHandshakeMessage( |
DCHECK(false) << "Failed to write message tag."; |
return nullptr; |
} |
- if (!writer.WriteUInt16(num_entries)) { |
+ if (!writer.WriteUInt16(static_cast<uint16>(num_entries))) { |
DCHECK(false) << "Failed to write size."; |
return nullptr; |
} |