diff options
-rw-r--r-- | lib/content_encoding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/content_encoding.c b/lib/content_encoding.c index 08cf1dccc..3b7d90c6f 100644 --- a/lib/content_encoding.c +++ b/lib/content_encoding.c @@ -365,7 +365,7 @@ Curl_unencode_gzip_write(struct connectdata *conn, ssize_t hlen; unsigned char *oldblock = z->next_in; - z->avail_in += nread; + z->avail_in += (uInt)nread; z->next_in = realloc(z->next_in, z->avail_in); if(z->next_in == NULL) { free(oldblock); |