summaryrefslogtreecommitdiffstats
path: root/clib/src/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'clib/src/tree.c')
-rw-r--r--clib/src/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clib/src/tree.c b/clib/src/tree.c
index 45a18e3..60db5cc 100644
--- a/clib/src/tree.c
+++ b/clib/src/tree.c
@@ -590,7 +590,7 @@ int splay_remove(tree_t * self, tree_node_t * node)
}
#else
if (self->root->left != NULL && self->root->right != NULL) {
- if (parity(int64_hash1((int64_t) self->root))) {
+ if (__builtin_parity(int64_hash1((int64_t) self->root))) {
x = splay(self->root->left, node->key,
self->compare);
x->right = self->root->right;
OpenPOWER on IntegriCloud