atspi: fix state macros after extending Elm_Atspi_State_Type.
This commit is contained in:
parent
ca134076eb
commit
67f49ac0ad
|
@ -17,17 +17,17 @@ typedef uint64_t Elm_Atspi_State_Set;
|
|||
/*
|
||||
* Sets a particilar state type for given state set.
|
||||
*/
|
||||
#define STATE_TYPE_SET(state_set, type) (state_set|= (1 << type))
|
||||
#define STATE_TYPE_SET(state_set, type) (state_set|= (1L << type))
|
||||
|
||||
/**
|
||||
* Unsets a particilar state type for given state set.
|
||||
*/
|
||||
#define STATE_TYPE_UNSET(state_set, type) (state_set &= ~(1 << type))
|
||||
#define STATE_TYPE_UNSET(state_set, type) (state_set &= ~(1L << type))
|
||||
|
||||
/**
|
||||
* Gets value of a particilar state type for given state set.
|
||||
*/
|
||||
#define STATE_TYPE_GET(state_set, type) (state_set & (1 << type))
|
||||
#define STATE_TYPE_GET(state_set, type) (state_set & (1L << type))
|
||||
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue