ecore_con: Force unsigned to unsigned comparison
authorStefan Schmidt <s.schmidt@samsung.com>
Fri, 11 Apr 2014 09:50:47 +0000 (11:50 +0200)
committerStefan Schmidt <s.schmidt@samsung.com>
Fri, 11 Apr 2014 09:50:47 +0000 (11:50 +0200)
commit9f7c9f953644736640a1cb4f17994353a380c1ba
tree72b0a36a7c3e03e17b9aee1ee5958c7435238514
parent5f0c9e43b5dbb8bb3bca650b391a85d1907f9d8d
ecore_con: Force unsigned to unsigned comparison

num was changed to size_t which makes it unsigned while count is a normal
(signed) int. Comparing them does not always work as expected but in this
case we already checked if count is < 0 before and would have returned if
that would be true. Thus we can safely cast count to unsigned here as it
will be greater 0 anyway.
src/lib/ecore_con/ecore_con.c