summaryrefslogtreecommitdiff
path: root/test/tree-buf.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tree-buf.c')
-rw-r--r--test/tree-buf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tree-buf.c b/test/tree-buf.c
index 4280a69..2c623e1 100644
--- a/test/tree-buf.c
+++ b/test/tree-buf.c
@@ -595,7 +595,7 @@ int clone_node(void *ctx, void *node, bool deep, void **result)
child = child->next) {
node_t *n;
- clone_node(ctx, child, true, (void **) &n);
+ clone_node(ctx, child, true, (void **) (void *) &n);
n->refcnt = 0;