| Index: net/filter/gzip_header.cc
|
| diff --git a/net/filter/gzip_header.cc b/net/filter/gzip_header.cc
|
| index 4d1cad91489e4639f4296345d71e16c2cf266b21..f4aca6b1518f3588ab2ff585c9a8ff8ac0d275cd 100644
|
| --- a/net/filter/gzip_header.cc
|
| +++ b/net/filter/gzip_header.cc
|
| @@ -105,7 +105,7 @@ GZipHeader::Status GZipHeader::ReadMore(const char* inbuf, int inbuf_len,
|
| case IN_FEXTRA: {
|
| // Grab the rest of the bytes in the extra field, or as many
|
| // of them as are actually present so far.
|
| - const int num_extra_bytes = static_cast<const int>(std::min(
|
| + const uint16 num_extra_bytes = static_cast<uint16>(std::min(
|
| static_cast<ptrdiff_t>(extra_length_),
|
| (end - pos)));
|
| pos += num_extra_bytes;
|
|
|