aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/http_chunks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http_chunks.c b/lib/http_chunks.c
index d4badeb90..1a34f5ec6 100644
--- a/lib/http_chunks.c
+++ b/lib/http_chunks.c
@@ -96,8 +96,8 @@ void Curl_httpchunk_init(struct connectdata *conn)
*/
CHUNKcode Curl_httpchunk_read(struct connectdata *conn,
char *datap,
- ssize_t length,
- ssize_t *wrote)
+ size_t length,
+ size_t *wrote)
{
CURLcode result;
struct Curl_chunker *ch = &conn->proto.http->chunk;