Commit fa2ea23c authored by Guenter Knauf's avatar Guenter Knauf
Browse files

add cast to silient compiler warning with 64bit systems.

parent 1a255e0e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);