forked from enlightenment/efl
eldbus model - fix signed compare warn
This commit is contained in:
parent
4d7d199ace
commit
8c55cbff95
|
@ -293,7 +293,7 @@ _eldbus_model_arguments_is(Eldbus_Model_Arguments_Data *pd,
|
|||
_eldbus_model_arguments_properties_load(pd);
|
||||
|
||||
i = _eldbus_model_arguments_argument_index_get(pd, argument);
|
||||
if (i >= eina_hash_population(pd->properties))
|
||||
if ((i > 0x7fffffff) || ((int)i >= eina_hash_population(pd->properties)))
|
||||
{
|
||||
WRN("Argument not found: %s", argument);
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue