cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=445b3587e321c74fa23c401dda567dd5b27257b8

commit 445b3587e321c74fa23c401dda567dd5b27257b8
Author: Piotr Ganicz <p.gan...@samsung.com>
Date:   Tue Sep 20 14:44:53 2016 -0700

    atspi: fix state macros
    
    Summary:
    This patch changes the value of 1 to 1ULL in STATE_TYPE macros
    to signal the compiler that the value must be considered
    as a unsigned long long, it has to be done cause state_set variable
    can be longer than 32 bits.
    
    This patch is moved. Orginal commit hash:
        a559e473c21c8da7c4e5a87b9c8583ce519cc35e
    
    Change-Id: Ida89f3be185736f61543d37010d0f5cb8d80a751
    
    Reviewers: cedric, stanluk
    
    Subscribers: cedric, jpeg
    
    Differential Revision: https://phab.enlightenment.org/D4260
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/lib/elementary/elm_interface_atspi_accessible.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/lib/elementary/elm_interface_atspi_accessible.h 
b/src/lib/elementary/elm_interface_atspi_accessible.h
index 929216b..5116983 100644
--- a/src/lib/elementary/elm_interface_atspi_accessible.h
+++ b/src/lib/elementary/elm_interface_atspi_accessible.h
@@ -13,17 +13,17 @@
 /*
  * Sets a particilar state type for given state set.
  */
-#define STATE_TYPE_SET(state_set, type)   (state_set|= (1L << type))
+#define STATE_TYPE_SET(state_set, type)   (state_set|= (1ULL << type))
 
 /**
  * Unsets a particilar state type for given state set.
  */
-#define STATE_TYPE_UNSET(state_set, type) (state_set &= ~(1L << type))
+#define STATE_TYPE_UNSET(state_set, type) (state_set &= ~(1ULL << type))
 
 /**
  * Gets value of a particilar state type for given state set.
  */
-#define STATE_TYPE_GET(state_set, type)   (state_set & (1L << type))
+#define STATE_TYPE_GET(state_set, type)   (state_set & (1ULL << type))
 
 /**
  * Free Elm_Atspi_Attributes_List

-- 


Reply via email to