1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

externalsocket.c: fix compiler warning for fwrite return type

This commit is contained in:
Daniel Stenberg 2016-02-17 15:00:54 +01:00
parent 32e38b8f42
commit e624714cad

View File

@ -54,7 +54,7 @@
static size_t write_data(void *ptr, size_t size, size_t nmemb, void *stream) 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; return written;
} }