diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-08-09 08:29:39 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-08-09 08:29:39 +0000 |
commit | 827a805966e101edee6f05af75d13279f0ad1add (patch) | |
tree | c5006e28f2939d892fbf2db8702619193b8124de | |
parent | e23ba31eb9c9ff6174bd5b069605d1a01aa964fd (diff) |
typecast the assigment of an unsigned variable to a signed one to prevent
picky warnings
-rw-r--r-- | lib/transfer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index a12ae5f86..5fab2ffbe 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -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; } |