[MPlayer-cvslog] r35452 - trunk/gui/util/bitmap.c

ib subversion at mplayerhq.hu
Fri Nov 23 11:15:43 CET 2012


Author: ib
Date: Fri Nov 23 11:15:43 2012
New Revision: 35452

Log:
Don't use signed variable for file length.

Modified:
   trunk/gui/util/bitmap.c

Modified: trunk/gui/util/bitmap.c
==============================================================================
--- trunk/gui/util/bitmap.c	Fri Nov 23 11:04:26 2012	(r35451)
+++ trunk/gui/util/bitmap.c	Fri Nov 23 11:15:43 2012	(r35452)
@@ -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;


More information about the MPlayer-cvslog mailing list