stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=a24734d80ac6902eb85e8c90ad98208eb948c779

commit a24734d80ac6902eb85e8c90ad98208eb948c779
Author: Stefan Schmidt <ste...@osg.samsung.com>
Date:   Wed Sep 21 10:56:36 2016 +0200

    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.
---
 src/tests/elementary/elm_test_win.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/tests/elementary/elm_test_win.c 
b/src/tests/elementary/elm_test_win.c
index 49cc6db..df0d8cf 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)
    Efl_Input_Pointer *ptr;
    Eina_Iterator *it;
    Eo *win = data;
-   size_t i = 0, cnt = 0;
+   size_t cnt = 0;
+   int i = 0;
 
    it = efl_input_pointer_iterate(win, 0);
    EINA_ITERATOR_FOREACH(it, ptr)
@@ -319,7 +320,8 @@ _inputs_timer3_cb(void *data)
    Efl_Input_Pointer *ptr;
    Eina_Iterator *it;
    Eo *win = data;
-   size_t i = 0, cnt = 0;
+   size_t cnt = 0;
+   int i = 0;
 
    it = efl_input_pointer_iterate(win, 0);
    EINA_ITERATOR_FOREACH(it, ptr)

-- 


Reply via email to