typecast the assigment of an unsigned variable to a signed one to prevent
picky warnings
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user