forked from enlightenment/efl
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:
parent
2ddbc5fc9a
commit
4214193bd4
|
@ -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; \
|
||||
|
|
Loading…
Reference in New Issue