diff options
Diffstat (limited to 'src/testzzuf/daemontest_get_chunked.c')
-rw-r--r-- | src/testzzuf/daemontest_get_chunked.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/testzzuf/daemontest_get_chunked.c b/src/testzzuf/daemontest_get_chunked.c index 3f6034a6..29ee5028 100644 --- a/src/testzzuf/daemontest_get_chunked.c +++ b/src/testzzuf/daemontest_get_chunked.c | |||
@@ -25,6 +25,7 @@ | |||
25 | */ | 25 | */ |
26 | 26 | ||
27 | #include "MHD_config.h" | 27 | #include "MHD_config.h" |
28 | #include "platform.h" | ||
28 | #include <curl/curl.h> | 29 | #include <curl/curl.h> |
29 | #include <microhttpd.h> | 30 | #include <microhttpd.h> |
30 | #include <stdlib.h> | 31 | #include <stdlib.h> |
@@ -61,7 +62,7 @@ copyBuffer (void *ptr, size_t size, size_t nmemb, void *ctx) | |||
61 | * data in chunks. | 62 | * data in chunks. |
62 | */ | 63 | */ |
63 | static int | 64 | static int |
64 | crc (void *cls, size_t pos, char *buf, int max) | 65 | crc (void *cls, uint64_t pos, char *buf, int max) |
65 | { | 66 | { |
66 | struct MHD_Response **responseptr = cls; | 67 | struct MHD_Response **responseptr = cls; |
67 | 68 | ||
@@ -91,7 +92,7 @@ ahc_echo (void *cls, | |||
91 | const char *url, | 92 | const char *url, |
92 | const char *method, | 93 | const char *method, |
93 | const char *version, | 94 | const char *version, |
94 | const char *upload_data, unsigned int *upload_data_size, void **ptr) | 95 | const char *upload_data, size_t *upload_data_size, void **ptr) |
95 | { | 96 | { |
96 | static int aptr; | 97 | static int aptr; |
97 | const char *me = cls; | 98 | const char *me = cls; |