Index: net/quic/crypto/cert_compressor.cc |
diff --git a/net/quic/crypto/cert_compressor.cc b/net/quic/crypto/cert_compressor.cc |
index ba42152766372d67ad44bb65a6b9413c321f5fd0..95bb55378bb71b9c916c992d198d8e271ac86aa3 100644 |
--- a/net/quic/crypto/cert_compressor.cc |
+++ b/net/quic/crypto/cert_compressor.cc |
@@ -260,7 +260,7 @@ size_t CertEntriesSize(const vector<CertEntry>& entries) { |
void SerializeCertEntries(uint8* out, const vector<CertEntry>& entries) { |
for (vector<CertEntry>::const_iterator i = entries.begin(); |
i != entries.end(); ++i) { |
- *out++ = i->type; |
+ *out++ = static_cast<uint8>(i->type); |
switch (i->type) { |
case CertEntry::COMPRESSED: |
break; |