summaryrefslogtreecommitdiff
path: root/lib/gl_rbtree_list.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gl_rbtree_list.c')
-rw-r--r--lib/gl_rbtree_list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gl_rbtree_list.c b/lib/gl_rbtree_list.c
index b4f37e661b..e584702c5b 100644
--- a/lib/gl_rbtree_list.c
+++ b/lib/gl_rbtree_list.c
@@ -46,8 +46,8 @@ check_invariants (gl_list_node_t node, gl_list_node_t parent)
if (!(node->parent == parent))
abort ();
if (!(node->branch_size
- == (node->left != NULL ? node->left->branch_size : 0)
- + 1 + (node->right != NULL ? node->right->branch_size : 0)))
+ == (node->left != NULL ? node->left->branch_size : 0)
+ + 1 + (node->right != NULL ? node->right->branch_size : 0)))
abort ();
if (!(node->color == BLACK || node->color == RED))
abort ();