1
0
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:
Daniel Stenberg 2004-08-09 08:29:39 +00:00
parent e23ba31eb9
commit 827a805966

View File

@ -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;
}