summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2015-10-02 11:33:46 +0200
committerLukasz Stanislawski <l.stanislaws@samsung.com>2015-10-02 11:33:46 +0200
commit3035b44231d992ae9d66fdca3e83560825a004b1 (patch)
tree32f6fffab50e5f4babe80bec2fa0af49d4932f23
parent7defa24fd074bd8cd35318c7707acf4fbce69c44 (diff)
downloadelementary-3035b44231d992ae9d66fdca3e83560825a004b1.tar.gz
atspi: fix state macros after extending Elm_Atspi_State_Type.
-rw-r--r--src/lib/elm_interface_atspi_accessible.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elm_interface_atspi_accessible.h b/src/lib/elm_interface_atspi_accessible.h
index 9b147c978..0012caa41 100644
--- a/src/lib/elm_interface_atspi_accessible.h
+++ b/src/lib/elm_interface_atspi_accessible.h
@@ -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))
/**