mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
typecast the assigment of an unsigned variable to a signed one to prevent
picky warnings
This commit is contained in:
parent
e23ba31eb9
commit
827a805966
@ -403,7 +403,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
|
||||
else {
|
||||
/* this was all we read so its all a bad header */
|
||||
k->badheader = HEADER_ALLBAD;
|
||||
nread = rest_length;
|
||||
nread = (ssize_t)rest_length;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user