diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-02-17 15:00:54 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-02-17 15:00:54 +0100 |
commit | e624714cad2a9f32e06f581feeea87b3825271d0 (patch) | |
tree | 6c3912d036d0884d60992044d4ed2a0ca348bca9 /docs | |
parent | 32e38b8f42477cf5ce3c3fef2fcc9db82f7fb7be (diff) |
externalsocket.c: fix compiler warning for fwrite return type
Diffstat (limited to 'docs')
-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; } |