forked from enlightenment/efl
Evas language: Fixed compiler warning about unsigned comparison.
comparison of unsigned expression >= 0 is always true. Thanks to vtorri for the report.
This commit is contained in:
parent
f4ff9a1a3e
commit
26a5cdc63b
|
@ -59,7 +59,7 @@ _evas_common_language_char_script_search(Eina_Unicode unicode)
|
|||
Evas_Script_Type
|
||||
evas_common_language_char_script_get(Eina_Unicode unicode)
|
||||
{
|
||||
if ((unicode >= 0) && (unicode < EVAS_SCRIPT_DIRECT_TABLE_LIMIT))
|
||||
if (unicode < EVAS_SCRIPT_DIRECT_TABLE_LIMIT)
|
||||
return _evas_script_fast_table[unicode];
|
||||
else
|
||||
return _evas_common_language_char_script_search(unicode);
|
||||
|
|
Loading…
Reference in New Issue