cmdutils: Use 64bit for file size/offset related variable in cmdutils_read_file()
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 6 Jan 2015 12:12:22 +0000 (13:12 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 6 Jan 2015 14:27:17 +0000 (15:27 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
cmdutils.c

index 2b4ab9e..b35180e 100644 (file)
@@ -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) {