projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f00c9a
)
tests: elm_win: fix compiler warning about signed vs. unsigned comparison
author
Stefan Schmidt
<stefan@osg.samsung.com>
Wed, 21 Sep 2016 08:56:36 +0000
(10:56 +0200)
committer
Stefan Schmidt
<stefan@osg.samsung.com>
Wed, 21 Sep 2016 08:56:36 +0000
(10:56 +0200)
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
patch
|
blob
|
history
diff --git
a/src/tests/elementary/elm_test_win.c
b/src/tests/elementary/elm_test_win.c
index
49cc6db
..
df0d8cf
100644
(file)
--- 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)