mirror of
https://github.com/akheron/jansson.git
synced 2025-04-05 05:25:04 +00:00
Use size_t to receive result from fread()/ftell().
This commit is contained in:
parent
1d8201c656
commit
ec1b6318e4
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ static const char *strip(char *str) {
|
|||
}
|
||||
|
||||
static char *loadfile(FILE *file) {
|
||||
long fsize, ret;
|
||||
size_t fsize, ret;
|
||||
char *buf;
|
||||
|
||||
fseek(file, 0, SEEK_END);
|
||||
|
|
Loading…
Add table
Reference in a new issue