diff --git a/cmdutils.c b/cmdutils.c index 2b4ab9e4d8..b35180e705 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -1863,7 +1863,7 @@ int read_yesno(void) int cmdutils_read_file(const char *filename, char **bufptr, size_t *size) { - int ret; + int64_t ret; FILE *f = av_fopen_utf8(filename, "rb"); if (!f) {