diff options
-rw-r--r-- | net/base/gzip_header.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/base/gzip_header.cc b/net/base/gzip_header.cc index 5b10a71..654c6b1 100644 --- a/net/base/gzip_header.cc +++ b/net/base/gzip_header.cc @@ -105,6 +105,9 @@ GZipHeader::Status GZipHeader::ReadMore(const char* inbuf, int inbuf_len, // of them as are actually present so far. const int num_extra_bytes = static_cast<const int>(std::min( static_cast<ptrdiff_t>(extra_length_), +#ifdef ANDROID + static_cast<ptrdiff_t> +#endif (end - pos))); pos += num_extra_bytes; extra_length_ -= num_extra_bytes; |