raster pushed a commit to branch master.

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

commit ee7a97d8984cde5bfa78e8939952b53897de120a
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Tue Dec 4 08:24:02 2018 +0000

    eina iterator tests - use same unisnged ints to store - warn
    
    use unsigned ints to we have no more wantings about signed compares
---
 src/tests/eina/eina_test_iterator.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/tests/eina/eina_test_iterator.c 
b/src/tests/eina/eina_test_iterator.c
index e2b0a4befb..28fe0dfc5b 100644
--- a/src/tests/eina/eina_test_iterator.c
+++ b/src/tests/eina/eina_test_iterator.c
@@ -614,10 +614,10 @@ EFL_END_TEST
 
 EFL_START_TEST(eina_iterator_carray_length)
 {
-   int array[] = { 1, 4, 9, 16 };
+   unsigned int array[] = { 1, 4, 9, 16 };
    Eina_Iterator *it;
-   int j = 1;
-   int i = 0;
+   unsigned int j = 1;
+   unsigned int i = 0;
 
    it = EINA_C_ARRAY_ITERATOR_NEW(array);
    EINA_ITERATOR_FOREACH(it, i)
@@ -632,12 +632,12 @@ EFL_END_TEST
 
 EFL_START_TEST(eina_iterator_multi)
 {
-   int array1[] = { 1, 4, 9, 16 };
-   int array2[] = { 25, 36, 49, 64 };
-   int array3[] = { 81, 100, 121, 144 };
+   unsigned int array1[] = { 1, 4, 9, 16 };
+   unsigned int array2[] = { 25, 36, 49, 64 };
+   unsigned int array3[] = { 81, 100, 121, 144 };
    Eina_Iterator *it;
-   int i;
-   int j = 1;
+   unsigned int i;
+   unsigned int j = 1;
 
    it = eina_multi_iterator_new(EINA_C_ARRAY_ITERATOR_NEW(array1),
                                 EINA_C_ARRAY_ITERATOR_NEW(array2),

-- 


Reply via email to