From: Enlightenment C. <no...@cv...> - 2007-03-29 23:16:38
|
Enlightenment CVS committal Author : pfritz Project : e17 Module : libs/ewl Dir : e17/libs/ewl/src/bin Modified Files: main.c Log Message: use consequently "unsigned int" in all MVC related stuff Note: that changes the API of the view callbacks and the data_fetch cb =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/bin/main.c,v retrieving revision 1.62 retrieving revision 1.63 diff -u -3 -r1.62 -r1.63 --- main.c 29 Mar 2007 19:59:22 -0000 1.62 +++ main.c 29 Mar 2007 23:16:00 -0000 1.63 @@ -61,10 +61,10 @@ unsigned int column); static void ewl_test_cb_test_selected(Ewl_Widget *w, void *ev, void *data); -static Ewl_Widget *cb_unit_test_header_fetch(void *data, int column); +static Ewl_Widget *cb_unit_test_header_fetch(void *data, unsigned int column); static void *cb_unit_test_header_data_fetch(void *data, unsigned int column); static void *cb_unit_test_fetch(void *data, unsigned int row, unsigned int column); -static int cb_unit_test_count(void *data); +static unsigned int cb_unit_test_count(void *data); static Ecore_List *tests = NULL; static int window_count = 0; @@ -1114,7 +1114,7 @@ } static Ewl_Widget * -cb_unit_test_header_fetch(void *data, int column __UNUSED__) +cb_unit_test_header_fetch(void *data, unsigned int column __UNUSED__) { Ewl_Widget *label; @@ -1142,11 +1142,11 @@ return t->unit_tests[row].failure_reason; } -static int +static unsigned int cb_unit_test_count(void *data) { Ewl_Test *t; - int i; + unsigned int i; t = data; if (!data) return 0; |