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>
Fri, 9 Jan 2015 16:18:40 +0000 (17:18 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 369b4cd4120bf67aa5187b6bc72574970a24ca22)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
cmdutils.c

index 1143ea1..82e69ec 100644 (file)
@@ -1857,7 +1857,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) {