diff options
Diffstat (limited to 'docs/examples')
-rw-r--r-- | docs/examples/externalsocket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/externalsocket.c b/docs/examples/externalsocket.c index 1b6c9209d..8152515b6 100644 --- a/docs/examples/externalsocket.c +++ b/docs/examples/externalsocket.c @@ -54,7 +54,7 @@ static size_t write_data(void *ptr, size_t size, size_t nmemb, void *stream) { - int written = fwrite(ptr, size, nmemb, (FILE *)stream); + size_t written = fwrite(ptr, size, nmemb, (FILE *)stream); return written; } |