changeset 35358:37b9f0e82a31

Don't use signed variable for file length.
author ib
date Fri, 23 Nov 2012 10:15:43 +0000
parents 80fe9ad7f318
children 4bdb1cc07953
files gui/util/bitmap.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/util/bitmap.c	Fri Nov 23 10:04:26 2012 +0000
+++ b/gui/util/bitmap.c	Fri Nov 23 10:15:43 2012 +0000
@@ -47,7 +47,7 @@
 static int pngRead(const char *fname, guiImage *img)
 {
     FILE *file;
-    long len;
+    size_t len;
     void *data;
     int decode_ok, bpl;
     AVCodecContext *avctx;