From 733a184ce0747c65fbc634e066cfac0ffae43d80 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 12 Sep 2006 23:51:01 +0000 Subject: Compiler warning fix --- lib/sendf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sendf.c') 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; -- cgit v1.2.3