mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
fread() returns a size_t
This commit is contained in:
parent
b7c56594b3
commit
c30cb73a5b
@ -555,7 +555,7 @@ static char *file2memory(FILE *file, long *size)
|
|||||||
char buffer[1024];
|
char buffer[1024];
|
||||||
char *string=NULL;
|
char *string=NULL;
|
||||||
char *newstring=NULL;
|
char *newstring=NULL;
|
||||||
long len=0;
|
size_t len=0;
|
||||||
long stringlen=0;
|
long stringlen=0;
|
||||||
|
|
||||||
if(file) {
|
if(file) {
|
||||||
|
Loading…
Reference in New Issue
Block a user