cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=e5a588b0bf150beff7cf9b74612456bf2c5f7475

commit e5a588b0bf150beff7cf9b74612456bf2c5f7475
Author: Subodh Kumar <s7158.ku...@samsung.com>
Date:   Fri Oct 6 09:51:13 2017 -0700

    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 <ced...@osg.samsung.com>
---
 src/lib/eet/eet_lib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eet/eet_lib.c b/src/lib/eet/eet_lib.c
index 99cd033097..58841e56f7 100644
--- a/src/lib/eet/eet_lib.c
+++ b/src/lib/eet/eet_lib.c
@@ -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;

-- 


Reply via email to