1
0
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:
Daniel Stenberg 2004-03-08 12:56:18 +00:00
parent b7c56594b3
commit c30cb73a5b

View File

@ -555,7 +555,7 @@ static char *file2memory(FILE *file, long *size)
char buffer[1024];
char *string=NULL;
char *newstring=NULL;
long len=0;
size_t len=0;
long stringlen=0;
if(file) {