1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -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)
{
int written = fwrite(ptr, size, nmemb, (FILE *)stream);
size_t written = fwrite(ptr, size, nmemb, (FILE *)stream);
return written;
}