efl: unsigned int/long never be less than zero. Fixed.

Reviewers: raster, cedric

Subscribers: rajeshps, jpeg

Differential Revision: https://phab.enlightenment.org/D5300

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
This commit is contained in:
Prince Kumar Dubey 2017-10-13 12:07:25 -07:00 committed by Cedric Bail
parent 99951747be
commit 77ceead6e1
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ static Eina_Bool
_xml_tag_parse_cb(void *data, Eina_Simple_XML_Type type, const char *content,
unsigned offset EINA_UNUSED, unsigned int length)
{
if (length <= 0) return EINA_FALSE;
if (length == 0) return EINA_FALSE;
if (type == EINA_SIMPLE_XML_OPEN)
{