summaryrefslogtreecommitdiff
path: root/doc/examples/largepost.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/largepost.c')
-rw-r--r--doc/examples/largepost.c4
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,
int
iterate_post (void *coninfo_cls, enum MHD_ValueKind kind, const char *key,
const char *filename, const char *content_type,
- const char *transfer_encoding, const char *data, size_t off,
+ const char *transfer_encoding, const char *data, uint64_t off,
size_t size)
{
FILE *fp;
@@ -136,7 +136,7 @@ int
answer_to_connection (void *cls, struct MHD_Connection *connection,
const char *url, const char *method,
const char *version, const char *upload_data,
- unsigned int *upload_data_size, void **con_cls)
+ size_t *upload_data_size, void **con_cls)
{
if (NULL == *con_cls)
{