diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-01-29 13:56:45 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-01-29 13:56:45 +0000 |
commit | 4d17d6876e4b2f08380812c4ec113073b0a14639 (patch) | |
tree | 7283f07518be4c7250d72ac89c38729563ffa642 /lib/http_chunks.c | |
parent | 0d6236f7e10468f75d09796ba9640c9054ab1f04 (diff) | |
download | curl-4d17d6876e4b2f08380812c4ec113073b0a14639.tar.gz |
Dan Fandrich's cleanup patch to make pedantic compiler options cause less
warnings. Minor edits by me.
Diffstat (limited to 'lib/http_chunks.c')
-rw-r--r-- | lib/http_chunks.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/http_chunks.c b/lib/http_chunks.c index 38f2fd06f..70a48950a 100644 --- a/lib/http_chunks.c +++ b/lib/http_chunks.c @@ -34,6 +34,7 @@ #include "sendf.h" /* for the client write stuff */ #include "content_encoding.h" /* 08/29/02 jhrg */ +#include "http.h" #define _MPRINTF_REPLACE /* use our functions only */ #include <curl/mprintf.h> @@ -99,8 +100,8 @@ void Curl_httpchunk_init(struct connectdata *conn) */ CHUNKcode Curl_httpchunk_read(struct connectdata *conn, char *datap, - size_t length, - size_t *wrote) + ssize_t length, + ssize_t *wrote) { CURLcode result=CURLE_OK; struct Curl_chunker *ch = &conn->proto.http->chunk; |