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 *string=NULL;
|
||||
char *newstring=NULL;
|
||||
long len=0;
|
||||
size_t len=0;
|
||||
long stringlen=0;
|
||||
|
||||
if(file) {
|
||||
|
Loading…
Reference in New Issue
Block a user