diff options
Diffstat (limited to 'lib/sendf.c')
-rw-r--r-- | lib/sendf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sendf.c b/lib/sendf.c index 74b5d35f7..7988d767d 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -477,7 +477,7 @@ int Curl_read(struct connectdata *conn, /* connection data */ conn->bits.stream_was_rewound = FALSE; - *n = bytestocopy; + *n = (ssize_t)bytestocopy; if (bytesremaining == 0) { return CURLE_OK; |