Index: net/quic/spdy_utils.cc |
diff --git a/net/quic/spdy_utils.cc b/net/quic/spdy_utils.cc |
index 230c3a76d0fbf64ae6f107c616c8b2805db959ba..9f12ef5826d27e89faedb2f007eb349d65d0d88c 100644 |
--- a/net/quic/spdy_utils.cc |
+++ b/net/quic/spdy_utils.cc |
@@ -53,8 +53,8 @@ bool SpdyUtils::ParseHeaders(const char* data, |
base::SplitString(content_length_header, base::StringPiece("\0", 1), |
base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); |
for (const string& value : values) { |
- int new_value; |
- if (!base::StringToInt(value, &new_value) || new_value < 0) { |
+ int64_t new_value; |
+ if (!base::StringToInt64(value, &new_value) || new_value < 0) { |
return false; |
} |
if (*content_length < 0) { |