summaryrefslogtreecommitdiff
path: root/lib/content_encoding.c
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2009-08-29 03:42:13 +0000
committerGunter Knauf <gk@gknw.de>2009-08-29 03:42:13 +0000
commitfa2ea23c962bf106db1b177bee36a21165e2bb5f (patch)
tree82c801aa3fabf084e3c3c13cbdda10e4fee54a18 /lib/content_encoding.c
parent1a255e0e280f6ca48a4f2290642ede2966c007da (diff)
downloadcurl-fa2ea23c962bf106db1b177bee36a21165e2bb5f.tar.gz
add cast to silient compiler warning with 64bit systems.
Diffstat (limited to 'lib/content_encoding.c')
-rw-r--r--lib/content_encoding.c2
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);