aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-08-09 08:29:39 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-08-09 08:29:39 +0000
commit827a805966e101edee6f05af75d13279f0ad1add (patch)
treec5006e28f2939d892fbf2db8702619193b8124de /lib
parente23ba31eb9c9ff6174bd5b069605d1a01aa964fd (diff)
typecast the assigment of an unsigned variable to a signed one to prevent
picky warnings
Diffstat (limited to 'lib')
-rw-r--r--lib/transfer.c2
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;
}