aboutsummaryrefslogtreecommitdiff
path: root/lib/sendf.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-09-12 23:51:01 +0000
committerYang Tse <yangsita@gmail.com>2006-09-12 23:51:01 +0000
commit733a184ce0747c65fbc634e066cfac0ffae43d80 (patch)
treed833615599479909fa2a99a7890ae5006b39111d /lib/sendf.c
parenteee09e79e8190b06fad1ed39d20eb53bee3f5b2e (diff)
Compiler warning fix
Diffstat (limited to 'lib/sendf.c')
-rw-r--r--lib/sendf.c2
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;