mirror of
https://github.com/curl/curl.git
synced 2026-04-15 04:51:40 +03:00
add cast to silient compiler warning with 64bit systems.
This commit is contained in:
parent
1a255e0e28
commit
fa2ea23c96
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue