atspi: fix state macros after extending Elm_Atspi_State_Type.

This commit is contained in:
Lukasz Stanislawski 2015-10-02 11:33:46 +02:00
parent ca134076eb
commit 67f49ac0ad
1 changed files with 3 additions and 3 deletions

View File

@ -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))
/**