mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -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 {
|
else {
|
||||||
/* this was all we read so its all a bad header */
|
/* this was all we read so its all a bad header */
|
||||||
k->badheader = HEADER_ALLBAD;
|
k->badheader = HEADER_ALLBAD;
|
||||||
nread = rest_length;
|
nread = (ssize_t)rest_length;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user