mirror of https://github.com/moparisthebest/curl
externalsocket.c: fix compiler warning for fwrite return type
This commit is contained in:
parent
32e38b8f42
commit
e624714cad
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue