diff options
Diffstat (limited to 'docs/examples/ftpuploadfrommem.c')
-rw-r--r-- | docs/examples/ftpuploadfrommem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/ftpuploadfrommem.c b/docs/examples/ftpuploadfrommem.c index 5ae1030dc..fbbc01b12 100644 --- a/docs/examples/ftpuploadfrommem.c +++ b/docs/examples/ftpuploadfrommem.c @@ -43,7 +43,7 @@ struct WriteThis { size_t sizeleft; }; -static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp) +static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *userp) { struct WriteThis *upload = (struct WriteThis *)userp; size_t max = size*nmemb; |