Mercurial > mplayer.hg
changeset 34838:716f2ddf8773
Use unsigned int instead of type casting.
author | ib |
---|---|
date | Sun, 20 May 2012 09:01:01 +0000 |
parents | b56cc3fd7b8a |
children | 5e29e950d918 |
files | gui/ui/gtk/fileselect.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/ui/gtk/fileselect.c Sun May 20 08:57:43 2012 +0000 +++ b/gui/ui/gtk/fileselect.c Sun May 20 09:01:01 2012 +0000 @@ -187,7 +187,7 @@ static void CheckDir( GtkWidget * list ) { struct stat fs; - int i, j, fn; + unsigned int i, j, fn; glob_t gg; gchar *filter, **fext; @@ -200,7 +200,7 @@ clist_append_fname(list, "..", dpixmap, dmask); glob( "*",0,NULL,&gg ); - for( i=0;(unsigned)i<gg.gl_pathc;i++ ) + for( i=0;i<gg.gl_pathc;i++ ) { stat( gg.gl_pathv[i],&fs ); if( !S_ISDIR( fs.st_mode ) ) continue; @@ -226,7 +226,7 @@ } } - for( i=0;(unsigned)i<gg.gl_pathc;i++ ) + for( i=0;i<gg.gl_pathc;i++ ) { char *ext;