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.
This commit is contained in:
Amitesh Singh 2016-05-13 15:19:15 +05:30
parent 2ddbc5fc9a
commit 4214193bd4
1 changed files with 1 additions and 1 deletions

View File

@ -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; \