summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2016-05-13 15:19:15 +0530
committerAmitesh Singh <amitesh.sh@samsung.com>2016-05-13 15:32:02 +0530
commit4214193bd4b389b5564dbac02fcf05eb46ea161a (patch)
treed7dd28ba222faf2a363bbeca9730304d7b8c9fb0
parent2ddbc5fc9a34ee47bf7e511283ce5d602366907e (diff)
downloadefl-4214193bd4b389b5564dbac02fcf05eb46ea161a.tar.gz
Eo: declare lk_init explicitly unsigned
In some build environment, anonymous char delcaration can be interpreted as "unsigned char". Although lk_init can be only 0, 1 or 2 so there won't be any unexpected result. This change is just to make static code analyzer happy.
-rw-r--r--src/lib/eo/Eo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h
index c46d231cef..3314441fb4 100644
--- a/src/lib/eo/Eo.h
+++ b/src/lib/eo/Eo.h
@@ -318,7 +318,7 @@ const Eo_Class * \
class_get_func_name(void) \
{ \
const Eo_Class *_tmp_parent_class; \
- static volatile char lk_init = 0; \
+ static volatile unsigned char lk_init = 0; \
static Eina_Spinlock _my_lock; \
static const Eo_Class * volatile _my_class = NULL; \
static unsigned int _my_init_generation = 1; \