aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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;
}