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:
parent
32e38b8f42
commit
e624714cad
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user