Dan Fandrich's cleanup patch to make pedantic compiler options cause less
warnings. Minor edits by me.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user