projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
836dda0
)
eina: fix warning. Patch by Seo Sanghyeon.
author
Cedric BAIL
<cedric.bail@free.fr>
Fri, 2 Mar 2012 15:36:54 +0000
(15:36 +0000)
committer
Cedric BAIL
<cedric.bail@free.fr>
Fri, 2 Mar 2012 15:36:54 +0000
(15:36 +0000)
SVN revision: 68628
legacy/eina/src/lib/eina_rbtree.c
patch
|
blob
|
history
diff --git
a/legacy/eina/src/lib/eina_rbtree.c
b/legacy/eina/src/lib/eina_rbtree.c
index
d96aa30
..
a9d777a
100644
(file)
--- a/
legacy/eina/src/lib/eina_rbtree.c
+++ b/
legacy/eina/src/lib/eina_rbtree.c
@@
-310,7
+310,7
@@
eina_rbtree_inline_insert(Eina_Rbtree *root,
uintptr_t top = stack[--s]; /* Pop link pointer and direction */
Eina_Rbtree_Direction dir = top & 1;
- r = (Eina_Rbtree **)(top & ~
1ULL
);
+ r = (Eina_Rbtree **)(top & ~
(uintptr_t)1
);
q = *r;
a = q->son[dir];
@@
-434,7
+434,7
@@
eina_rbtree_inline_remove(Eina_Rbtree *root,
Eina_Rbtree *q;
uintptr_t st = stack[--s];
- rt = (Eina_Rbtree**)(st & ~
1ULL
);
+ rt = (Eina_Rbtree**)(st & ~
(uintptr_t)1
);
dir = st & 1;
r = *rt;
q = r->son[dir ^ 1];