diff options
Diffstat (limited to 'docs/examples/http2-upload.c')
-rw-r--r-- | docs/examples/http2-upload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/http2-upload.c b/docs/examples/http2-upload.c index 09da1d8e7..8545d5aeb 100644 --- a/docs/examples/http2-upload.c +++ b/docs/examples/http2-upload.c @@ -159,7 +159,7 @@ int my_trace(CURL *handle, curl_infotype type, return 0; } -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 input *i = userp; size_t retcode = fread(ptr, size, nmemb, i->in); |