diff options
Diffstat (limited to 'src/testcurl/daemontest_get_chunked.c')
-rw-r--r-- | src/testcurl/daemontest_get_chunked.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 @@ | |||
29 | */ | 29 | */ |
30 | 30 | ||
31 | #include "MHD_config.h" | 31 | #include "MHD_config.h" |
32 | #include "platform.h" | ||
32 | #include <curl/curl.h> | 33 | #include <curl/curl.h> |
33 | #include <microhttpd.h> | 34 | #include <microhttpd.h> |
34 | #include <stdlib.h> | 35 | #include <stdlib.h> |
@@ -63,7 +64,7 @@ copyBuffer (void *ptr, size_t size, size_t nmemb, void *ctx) | |||
63 | * data in chunks. | 64 | * data in chunks. |
64 | */ | 65 | */ |
65 | static int | 66 | static int |
66 | crc (void *cls, size_t pos, char *buf, int max) | 67 | crc (void *cls, uint64_t pos, char *buf, int max) |
67 | { | 68 | { |
68 | struct MHD_Response **responseptr = cls; | 69 | struct MHD_Response **responseptr = cls; |
69 | 70 | ||
@@ -93,7 +94,7 @@ ahc_echo (void *cls, | |||
93 | const char *url, | 94 | const char *url, |
94 | const char *method, | 95 | const char *method, |
95 | const char *version, | 96 | const char *version, |
96 | const char *upload_data, unsigned int *upload_data_size, void **ptr) | 97 | const char *upload_data, size_t *upload_data_size, void **ptr) |
97 | { | 98 | { |
98 | static int aptr; | 99 | static int aptr; |
99 | const char *me = cls; | 100 | const char *me = cls; |