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:
parent
99951747be
commit
77ceead6e1
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue