From ef4c9adf80f92ff9e628b21901316746b072eb4a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 5 Oct 2014 04:11:53 +0000 Subject: Compile cleanly as C++. git-svn-id: http://svn.drobilla.net/zix/trunk@97 df6676b4-ccc9-40e5-b5d6-7c4628a128e3 --- zix/btree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zix/btree.c b/zix/btree.c index e7912d0..82a7955 100644 --- a/zix/btree.c +++ b/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); } -- cgit v1.2.1