From e624714cad2a9f32e06f581feeea87b3825271d0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 17 Feb 2016 15:00:54 +0100 Subject: externalsocket.c: fix compiler warning for fwrite return type --- docs/examples/externalsocket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') 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; } -- cgit v1.2.3