Index: net/quic/chromium/quic_connection_logger.cc |
diff --git a/net/quic/chromium/quic_connection_logger.cc b/net/quic/chromium/quic_connection_logger.cc |
index e50792ceaed29a6d823c2b81b785c6e300d0034f..d047462217549f7cca177e12bebac7f6cc095a4b 100644 |
--- a/net/quic/chromium/quic_connection_logger.cc |
+++ b/net/quic/chromium/quic_connection_logger.cc |
@@ -268,7 +268,8 @@ void UpdatePublicResetAddressMismatchHistogram( |
return; |
} |
UMA_HISTOGRAM_ENUMERATION("Net.QuicSession.PublicResetAddressMismatch2", |
- sample, QUIC_ADDRESS_MISMATCH_MAX); |
+ static_cast<QuicAddressMismatch>(sample), |
+ QUIC_ADDRESS_MISMATCH_MAX); |
} |
// If |address| is an IPv4-mapped IPv6 address, returns ADDRESS_FAMILY_IPV4 |