projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
321673f
)
eet: wrong comparision to less than zero with unsigned integer.
author
Subodh Kumar
<s7158.kumar@samsung.com>
Fri, 6 Oct 2017 16:51:13 +0000
(09:51 -0700)
committer
Cedric BAIL
<cedric@osg.samsung.com>
Fri, 6 Oct 2017 16:51:19 +0000
(09:51 -0700)
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>
src/lib/eet/eet_lib.c
patch
|
blob
|
history
diff --git
a/src/lib/eet/eet_lib.c
b/src/lib/eet/eet_lib.c
index
99cd033
..
58841e5
100644
(file)
--- 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;