diff options
Diffstat (limited to 'docs/examples/anyauthput.c')
-rw-r--r-- | docs/examples/anyauthput.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/anyauthput.c b/docs/examples/anyauthput.c index b1367deb8..1c9f965d5 100644 --- a/docs/examples/anyauthput.c +++ b/docs/examples/anyauthput.c @@ -147,13 +147,13 @@ int main(int argc, char **argv) curl_easy_setopt(curl, CURLOPT_READFUNCTION, read_callback); /* which file to upload */ - curl_easy_setopt(curl, CURLOPT_READDATA, (void*)&hd); + curl_easy_setopt(curl, CURLOPT_READDATA, (void *)&hd); /* set the ioctl function */ curl_easy_setopt(curl, CURLOPT_IOCTLFUNCTION, my_ioctl); /* pass the file descriptor to the ioctl callback as well */ - curl_easy_setopt(curl, CURLOPT_IOCTLDATA, (void*)&hd); + curl_easy_setopt(curl, CURLOPT_IOCTLDATA, (void *)&hd); /* enable "uploading" (which means PUT when doing HTTP) */ curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L); |