From fa2ea23c962bf106db1b177bee36a21165e2bb5f Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Sat, 29 Aug 2009 03:42:13 +0000 Subject: add cast to silient compiler warning with 64bit systems. --- lib/content_encoding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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); -- cgit v1.2.3