changeset 32816:180883b8a488

Use appropriate declaration for array indices.
author ib
date Wed, 16 Feb 2011 11:09:57 +0000
parents 811f6ecdb1c4
children a104f879bfbc
files gui/skin/cut.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/skin/cut.c	Wed Feb 16 10:55:38 2011 +0000
+++ b/gui/skin/cut.c	Wed Feb 16 11:09:57 2011 +0000
@@ -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++;