From b90c37b2f38d97952613e26627b3e8ebf9932112 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 6 Feb 2009 06:12:33 +0000 Subject: incompatible API change to allow 64-bit uploads and downloads on 32-bit systems --- src/testcurl/daemontest_get_chunked.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/testcurl/daemontest_get_chunked.c') diff --git a/src/testcurl/daemontest_get_chunked.c b/src/testcurl/daemontest_get_chunked.c index ab53545c..794430e8 100644 --- a/src/testcurl/daemontest_get_chunked.c +++ b/src/testcurl/daemontest_get_chunked.c @@ -29,6 +29,7 @@ */ #include "MHD_config.h" +#include "platform.h" #include #include #include @@ -63,7 +64,7 @@ copyBuffer (void *ptr, size_t size, size_t nmemb, void *ctx) * data in chunks. */ static int -crc (void *cls, size_t pos, char *buf, int max) +crc (void *cls, uint64_t pos, char *buf, int max) { struct MHD_Response **responseptr = cls; @@ -93,7 +94,7 @@ ahc_echo (void *cls, const char *url, const char *method, const char *version, - const char *upload_data, unsigned int *upload_data_size, void **ptr) + const char *upload_data, size_t *upload_data_size, void **ptr) { static int aptr; const char *me = cls; -- cgit v1.2.3