summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-09-21 10:56:36 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2016-09-21 10:56:36 +0200
commita24734d80ac6902eb85e8c90ad98208eb948c779 (patch)
tree6525b89ba23dc07425dfdaad41c9dd5b4f55dd1e
parent1f00c9a26e1b9064ef38994761934a7ed85d9609 (diff)
tests: elm_win: fix compiler warning about signed vs. unsigned comparison
The variable i only goes from 0 to 4 here but it gets compared against a normal int so we make sure i also is a normal int.
-rw-r--r--src/tests/elementary/elm_test_win.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tests/elementary/elm_test_win.c b/src/tests/elementary/elm_test_win.c
index 49cc6db951..df0d8cff93 100644
--- a/src/tests/elementary/elm_test_win.c
+++ b/src/tests/elementary/elm_test_win.c
@@ -258,7 +258,8 @@ _inputs_timer2_cb(void *data)
258 Efl_Input_Pointer *ptr; 258 Efl_Input_Pointer *ptr;
259 Eina_Iterator *it; 259 Eina_Iterator *it;
260 Eo *win = data; 260 Eo *win = data;
261 size_t i = 0, cnt = 0; 261 size_t cnt = 0;
262 int i = 0;
262 263
263 it = efl_input_pointer_iterate(win, 0); 264 it = efl_input_pointer_iterate(win, 0);
264 EINA_ITERATOR_FOREACH(it, ptr) 265 EINA_ITERATOR_FOREACH(it, ptr)
@@ -319,7 +320,8 @@ _inputs_timer3_cb(void *data)
319 Efl_Input_Pointer *ptr; 320 Efl_Input_Pointer *ptr;
320 Eina_Iterator *it; 321 Eina_Iterator *it;
321 Eo *win = data; 322 Eo *win = data;
322 size_t i = 0, cnt = 0; 323 size_t cnt = 0;
324 int i = 0;
323 325
324 it = efl_input_pointer_iterate(win, 0); 326 it = efl_input_pointer_iterate(win, 0);
325 EINA_ITERATOR_FOREACH(it, ptr) 327 EINA_ITERATOR_FOREACH(it, ptr)