diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/examples/sepheaders.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/sepheaders.c b/docs/examples/sepheaders.c index ead557214..40110ce95 100644 --- a/docs/examples/sepheaders.c +++ b/docs/examples/sepheaders.c @@ -19,9 +19,9 @@ #include <curl/types.h> #include <curl/easy.h> -size_t write_data(void *ptr, size_t size, size_t nmemb, FILE *stream) +size_t write_data(void *ptr, size_t size, size_t nmemb, void *stream) { - written = fwrite(ptr,size,nmemb,outfile); + written = fwrite(ptr, size, nmemb, (FILE *)stream); return written; } |