1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

add cast to silient compiler warning with 64bit systems.

This commit is contained in:
Gunter Knauf 2009-08-29 03:42:13 +00:00
parent 1a255e0e28
commit fa2ea23c96

View File

@ -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);