[MPlayer-cvslog] r34926 - trunk/gui/ui/gtk/fileselect.c
ib
subversion at mplayerhq.hu
Sun May 20 11:01:01 CEST 2012
Author: ib
Date: Sun May 20 11:01:01 2012
New Revision: 34926
Log:
Use unsigned int instead of type casting.
Modified:
trunk/gui/ui/gtk/fileselect.c
Modified: trunk/gui/ui/gtk/fileselect.c
==============================================================================
--- trunk/gui/ui/gtk/fileselect.c Sun May 20 10:57:43 2012 (r34925)
+++ trunk/gui/ui/gtk/fileselect.c Sun May 20 11:01:01 2012 (r34926)
@@ -187,7 +187,7 @@ static void clist_append_fname(GtkWidget
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 @@ static void CheckDir( GtkWidget * list )
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 @@ static void CheckDir( GtkWidget * list )
}
}
- for( i=0;(unsigned)i<gg.gl_pathc;i++ )
+ for( i=0;i<gg.gl_pathc;i++ )
{
char *ext;
More information about the MPlayer-cvslog
mailing list