eet: wrong comparision to less than zero with unsigned integer.

Summary:
Unsigned interger should not be compared to less than zero.
@fix

Test Plan: Na

Reviewers: cedric

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Subodh Kumar 2017-10-06 09:51:13 -07:00 committed by Cedric BAIL
parent 321673fe59
commit e5a588b0bf
1 changed files with 1 additions and 1 deletions

View File

@ -1159,7 +1159,7 @@ eet_internal_read1(Eet_File *ef)
}
/* invalid name_size */
if (eet_test_close(name_size <= 0, ef))
if (eet_test_close(name_size == 0, ef))
{
eet_file_node_mp_free(efn);
return NULL;