Mercurial > mplayer.hg
changeset 33755:90a5fdb500db
Use unsigned index variable for comparison with string length.
author | ib |
---|---|
date | Thu, 07 Jul 2011 15:36:09 +0000 |
parents | 1909e4015a3c |
children | e55098a29bcb |
files | gui/ui/gtk/fileselect.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/ui/gtk/fileselect.c Thu Jul 07 15:09:58 2011 +0000 +++ b/gui/ui/gtk/fileselect.c Thu Jul 07 15:36:09 2011 +0000 @@ -172,7 +172,7 @@ 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++]=']'; }