mirror of
https://github.com/curl/curl.git
synced 2025-01-30 14:22:33 +08: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)
|
||||
{
|
||||
int written = fwrite(ptr, size, nmemb, (FILE *)stream);
|
||||
size_t written = fwrite(ptr, size, nmemb, (FILE *)stream);
|
||||
return written;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user