Use size_t to receive result from fread()/ftell().
This commit is contained in:
parent
1d8201c656
commit
ec1b6318e4
@ -63,7 +63,7 @@ static const char *strip(char *str) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static char *loadfile(FILE *file) {
|
static char *loadfile(FILE *file) {
|
||||||
long fsize, ret;
|
size_t fsize, ret;
|
||||||
char *buf;
|
char *buf;
|
||||||
|
|
||||||
fseek(file, 0, SEEK_END);
|
fseek(file, 0, SEEK_END);
|
||||||
|
Loading…
Reference in New Issue
Block a user