diff options
author | Gunter Knauf <gk@gknw.de> | 2009-08-29 03:42:13 +0000 |
---|---|---|
committer | Gunter Knauf <gk@gknw.de> | 2009-08-29 03:42:13 +0000 |
commit | fa2ea23c962bf106db1b177bee36a21165e2bb5f (patch) | |
tree | 82c801aa3fabf084e3c3c13cbdda10e4fee54a18 /lib | |
parent | 1a255e0e280f6ca48a4f2290642ede2966c007da (diff) |
add cast to silient compiler warning with 64bit systems.
Diffstat (limited to 'lib')
-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); |