# HG changeset patch # User ib # Date 1337504461 0 # Node ID 716f2ddf877315596602ca266148ae6d27a489c0 # Parent b56cc3fd7b8a109ff9b5d61372b13f66e61f4b44 Use unsigned int instead of type casting. diff -r b56cc3fd7b8a -r 716f2ddf8773 gui/ui/gtk/fileselect.c --- 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