Compiler warning fix

This commit is contained in:
Yang Tse
2006-09-12 23:51:01 +00:00
parent eee09e79e8
commit 733a184ce0
7 changed files with 26 additions and 20 deletions

View File

@@ -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;