tasn pushed a commit to branch master.
commit 26a5cdc63bff3babbefe116221aeb0d8b5520dbc
Author: Tom Hacohen <[email protected]>
Date: Tue Mar 12 11:17:05 2013 +0000
Evas language: Fixed compiler warning about unsigned comparison.
comparison of unsigned expression >= 0 is always true.
Thanks to vtorri for the report.
---
src/lib/evas/common/language/evas_language_utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/evas/common/language/evas_language_utils.c
b/src/lib/evas/common/language/evas_language_utils.c
index b362f10..a7b8ef0 100644
--- a/src/lib/evas/common/language/evas_language_utils.c
+++ b/src/lib/evas/common/language/evas_language_utils.c
@@ -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);
--
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev