summaryrefslogtreecommitdiffstats
path: root/src/zix
diff options
context:
space:
mode:
Diffstat (limited to 'src/zix')
-rw-r--r--src/zix/btree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zix/btree.c b/src/zix/btree.c
index e7912d0..82a7955 100644
--- a/src/zix/btree.c
+++ b/src/zix/btree.c
@@ -358,7 +358,7 @@ zix_btree_rotate_left(ZixBTreeNode* const parent, const uint16_t i)
// Move first child pointer from RHS to end of LHS
if (!lhs->is_leaf) {
- lhs->children[lhs->n_vals] = zix_btree_aerase(
+ lhs->children[lhs->n_vals] = (ZixBTreeNode*)zix_btree_aerase(
(void**)rhs->children, rhs->n_vals, 0);
}