diff options
Diffstat (limited to 'doc/examples/largepost.c')
-rw-r--r-- | doc/examples/largepost.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/largepost.c b/doc/examples/largepost.c index 7a9c1ef1..aadb3306 100644 --- a/doc/examples/largepost.c +++ b/doc/examples/largepost.c | |||
@@ -65,7 +65,7 @@ send_page (struct MHD_Connection *connection, const char *page, | |||
65 | int | 65 | int |
66 | iterate_post (void *coninfo_cls, enum MHD_ValueKind kind, const char *key, | 66 | iterate_post (void *coninfo_cls, enum MHD_ValueKind kind, const char *key, |
67 | const char *filename, const char *content_type, | 67 | const char *filename, const char *content_type, |
68 | const char *transfer_encoding, const char *data, size_t off, | 68 | const char *transfer_encoding, const char *data, uint64_t off, |
69 | size_t size) | 69 | size_t size) |
70 | { | 70 | { |
71 | FILE *fp; | 71 | FILE *fp; |
@@ -136,7 +136,7 @@ int | |||
136 | answer_to_connection (void *cls, struct MHD_Connection *connection, | 136 | answer_to_connection (void *cls, struct MHD_Connection *connection, |
137 | const char *url, const char *method, | 137 | const char *url, const char *method, |
138 | const char *version, const char *upload_data, | 138 | const char *version, const char *upload_data, |
139 | unsigned int *upload_data_size, void **con_cls) | 139 | size_t *upload_data_size, void **con_cls) |
140 | { | 140 | { |
141 | if (NULL == *con_cls) | 141 | if (NULL == *con_cls) |
142 | { | 142 | { |