[MPlayer-cvslog] r32903 - trunk/gui/skin/cut.c

ib subversion at mplayerhq.hu
Wed Feb 16 12:09:57 CET 2011


Author: ib
Date: Wed Feb 16 12:09:57 2011
New Revision: 32903

Log:
Use appropriate declaration for array indices.

Modified:
   trunk/gui/skin/cut.c

Modified: trunk/gui/skin/cut.c
==============================================================================
--- trunk/gui/skin/cut.c	Wed Feb 16 11:55:38 2011	(r32902)
+++ trunk/gui/skin/cut.c	Wed Feb 16 12:09:57 2011	(r32903)
@@ -23,7 +23,8 @@
 
 void cutItemString( char * in,char * out,char sep,int num,size_t maxout )
 {
- int i,n,c;
+ int n;
+ unsigned int i,c;
  for ( c=0,n=0,i=0;i<strlen( in );i++ )
   {
    if ( in[i] == sep ) n++;


More information about the MPlayer-cvslog mailing list