diff options
author | Stefan Schmidt <stefan@osg.samsung.com> | 2016-06-28 11:34:16 +0200 |
---|---|---|
committer | Stefan Schmidt <stefan@osg.samsung.com> | 2016-06-28 11:35:48 +0200 |
commit | c1529d12d921a226ed8dcfaa0bb7772df8b5ffd1 (patch) | |
tree | e4f135ae1b46a7d94895439382953233a05ad76a | |
parent | de495bb5f4232d42c35d09e7142010d169a4b817 (diff) | |
download | efl-c1529d12d921a226ed8dcfaa0bb7772df8b5ffd1.tar.gz |
tests: elm: make cnt unsigned for correct compare
Not really somethign we would hit here but still better to change this.
tests/elementary/elm_test_config.c: In function ‘elm_config_profiles’:
tests/elementary/elm_test_config.c:206:12: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
fail_if(cnt != eina_list_count(list));
-rw-r--r-- | src/tests/elementary/elm_test_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/elementary/elm_test_config.c b/src/tests/elementary/elm_test_config.c index 2032617097..85221e7443 100644 --- a/src/tests/elementary/elm_test_config.c +++ b/src/tests/elementary/elm_test_config.c @@ -193,7 +193,7 @@ START_TEST (elm_config_profiles) Eina_List *list; Eina_Iterator *it; const char *prof; - int cnt = 0; + unsigned int cnt = 0; list = (!hidden) ? elm_config_profile_list_get() : elm_config_profile_list_full_get(); |