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:
parent
1a255e0e28
commit
fa2ea23c96
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user