Enlightenment CVS schrieb: > Enlightenment CVS committal > > Author : barbieri > Project : e17 > Module : libs/etk > > Dir : e17/libs/etk/src/bin > > > Modified Files: > etk_combobox_test.c etk_tree_test.c > > > Log Message: > Fix compiler warnings > > =================================================================== > RCS file: /cvs/e/e17/libs/etk/src/bin/etk_combobox_test.c,v > retrieving revision 1.16 > retrieving revision 1.17 > diff -u -3 -r1.16 -r1.17 > --- etk_combobox_test.c 29 Jun 2007 09:14:01 -0000 1.16 > +++ etk_combobox_test.c 24 Jul 2007 21:40:16 -0000 1.17 > @@ -1,3 +1,4 @@ > +#define _GNU_SOURCE > #include "etk_test.h" > #include <stdlib.h> > #include <unistd.h> > @@ -202,7 +203,7 @@ > cur_dir = strdup(dir_stripped); > > files = ecore_file_ls(dir_stripped); > - ecore_list_sort(files, strcasecmp, 'a'); > + ecore_list_sort(files, (Ecore_Compare_Cb)strcasecmp, 'a'); > I'm not sure what your intention is behind the 'a', but the third argument of ecore_list_sort() should be ECORE_SORT_MIN or ECORE_SORT_MAX. I updated the doxy to be more precise about the possible values. Besides that, the return list of ecore_file_ls() should already be sorted.
Peter ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel