summaryrefslogtreecommitdiffstats
path: root/tools/lib/rbtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/rbtree.c')
-rw-r--r--tools/lib/rbtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/rbtree.c b/tools/lib/rbtree.c
index 727396de6b..9e7307186b 100644
--- a/tools/lib/rbtree.c
+++ b/tools/lib/rbtree.c
@@ -58,7 +58,7 @@
static inline void rb_set_black(struct rb_node *rb)
{
- rb->__rb_parent_color |= RB_BLACK;
+ rb->__rb_parent_color += RB_BLACK;
}
static inline struct rb_node *rb_red_parent(struct rb_node *red)