Tue, 11 Feb 2025 19:31:01 +0100
fix test function having the wrong type
tests/test_tree.c | file | annotate | diff | comparison | revisions |
--- a/tests/test_tree.c Mon Feb 10 21:47:25 2025 +0100 +++ b/tests/test_tree.c Tue Feb 11 19:31:01 2025 +0100 @@ -56,8 +56,8 @@ static void *tree_node_file_create( const void *dptr, - const void *allocator) { - if (allocator == NULL) allocator = cxDefaultAllocator; + void *allocator) { + if (allocator == NULL) allocator = (void*) cxDefaultAllocator; tree_node_file *node = cxMalloc(allocator, sizeof(tree_node_file)); node->path = dptr;