diff options
Diffstat (limited to 'src/examples/minimal_example_comet.c')
-rw-r--r-- | src/examples/minimal_example_comet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/minimal_example_comet.c b/src/examples/minimal_example_comet.c index a0f31ee2..03607f32 100644 --- a/src/examples/minimal_example_comet.c +++ b/src/examples/minimal_example_comet.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <microhttpd.h> | 26 | #include <microhttpd.h> |
27 | 27 | ||
28 | static int | 28 | static int |
29 | data_generator (void *cls, size_t pos, char *buf, int max) | 29 | data_generator (void *cls, uint64_t pos, char *buf, int max) |
30 | { | 30 | { |
31 | if (max < 80) | 31 | if (max < 80) |
32 | return 0; | 32 | return 0; |
@@ -41,7 +41,7 @@ ahc_echo (void *cls, | |||
41 | const char *url, | 41 | const char *url, |
42 | const char *method, | 42 | const char *method, |
43 | const char *version, | 43 | const char *version, |
44 | const char *upload_data, unsigned int *upload_data_size, void **ptr) | 44 | const char *upload_data, size_t *upload_data_size, void **ptr) |
45 | { | 45 | { |
46 | static int aptr; | 46 | static int aptr; |
47 | struct MHD_Response *response; | 47 | struct MHD_Response *response; |