[MPlayer-cvslog] r33003 - trunk/gui/bitmap.c

ib subversion at mplayerhq.hu
Wed Mar 2 18:42:06 CET 2011


Author: ib
Date: Wed Mar  2 18:42:06 2011
New Revision: 33003

Log:
Use appropriate declaration for array indices.

Modified:
   trunk/gui/bitmap.c

Modified: trunk/gui/bitmap.c
==============================================================================
--- trunk/gui/bitmap.c	Wed Mar  2 18:38:59 2011	(r33002)
+++ trunk/gui/bitmap.c	Wed Mar  2 18:42:06 2011	(r33003)
@@ -120,7 +120,7 @@ static int pngRead(unsigned char *fname,
 static int conv24to32(txSample *bf)
 {
     unsigned char *tmpImage;
-    int i, c;
+    unsigned int i, c;
 
     if (bf->BPP == 24) {
         tmpImage      = bf->Image;


More information about the MPlayer-cvslog mailing list