summaryrefslogtreecommitdiff
path: root/src/lib/eo/eo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eo/eo.c')
-rw-r--r--src/lib/eo/eo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index 7d9847fdea..6d5ea30f99 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -153,8 +153,7 @@ _eo_is_a_class(const Eo *eo_id)
153 if (!eo_id) return EINA_FALSE; 153 if (!eo_id) return EINA_FALSE;
154 oid = ((Eo_Header *) eo_id)->id; 154 oid = ((Eo_Header *) eo_id)->id;
155#endif 155#endif
156 return ((((oid >> REF_TAG_SHIFT) & 0x1) == 0x0) && 156 return (!(oid & MASK_OBJ_TAG) && (oid & MASK_CLASS_TAG));
157 (oid & MASK_CLASS_TAG));
158} 157}
159 158
160static inline _Eo_Class * 159static inline _Eo_Class *