diff options
Diffstat (limited to 'tools/lib/rbtree.c')
-rw-r--r-- | tools/lib/rbtree.c | 2 |
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) |