[MPlayer-cvslog] r33843 - trunk/gui/ui/gtk/fileselect.c
ib
subversion at mplayerhq.hu
Thu Jul 7 17:36:09 CEST 2011
Author: ib
Date: Thu Jul 7 17:36:09 2011
New Revision: 33843
Log:
Use unsigned index variable for comparison with string length.
Modified:
trunk/gui/ui/gtk/fileselect.c
Modified: trunk/gui/ui/gtk/fileselect.c
==============================================================================
--- trunk/gui/ui/gtk/fileselect.c Thu Jul 7 17:09:58 2011 (r33842)
+++ trunk/gui/ui/gtk/fileselect.c Thu Jul 7 17:36:09 2011 (r33843)
@@ -172,7 +172,7 @@ static char * get_current_dir_name_utf8(
static char * Filter( const char * name )
{
static char tmp[32];
- int i,c;
+ unsigned int i,c;
for ( i=0,c=0;i < strlen( name );i++ )
{
if ( ( name[i] >='a' )&&( name[i] <= 'z' ) ) { tmp[c++]='['; tmp[c++]=name[i]; tmp[c++]=name[i] - 32; tmp[c++]=']'; }
More information about the MPlayer-cvslog
mailing list