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:
2f6cf2c
)
Edje_Edit: fix warning on unsigned and signed int comparation
author
Vitalii Vorobiov
<vi.vorobiov@samsung.com>
Thu, 18 Feb 2016 17:17:56 +0000
(17:17 +0000)
committer
Vitalii Vorobiov
<vi.vorobiov@samsung.com>
Thu, 18 Feb 2016 17:19:19 +0000
(17:19 +0000)
Oops!
Sorry, missed this one:
lib/edje/edje_edit.c: In function 'edje_edit_program_after_insert_at':
lib/edje/edje_edit.c:9980:14: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
if (place >= eina_list_count(epr->after))
^
Now fixed
src/lib/edje/edje_edit.c
patch
|
blob
|
history
diff --git
a/src/lib/edje/edje_edit.c
b/src/lib/edje/edje_edit.c
index
2c6e46a
..
96d8cf5
100644
(file)
--- a/
src/lib/edje/edje_edit.c
+++ b/
src/lib/edje/edje_edit.c
@@
-9977,7
+9977,7
@@
edje_edit_program_after_insert_at(Evas_Object *obj, const char *prog, const char
a->id = af->id;
- if (place >= eina_list_count(epr->after))
+ if (
(unsigned)
place >= eina_list_count(epr->after))
epr->after = eina_list_append(epr->after, a);
else
{