summaryrefslogtreecommitdiffstats
path: root/test/tree_test.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-09-10 20:11:47 -0400
committerDavid Robillard <d@drobilla.net>2021-09-10 20:54:28 -0400
commit731ce39ef6fa35f64c19947bdb1719028478fdb9 (patch)
tree87304c55061fc9cd0ab1c3007a78eff44de137dc /test/tree_test.c
parent904c1b4d699aeb1ce170f0cd996a01d2d06812e3 (diff)
downloadzix-731ce39ef6fa35f64c19947bdb1719028478fdb9.tar.gz
zix-731ce39ef6fa35f64c19947bdb1719028478fdb9.tar.bz2
zix-731ce39ef6fa35f64c19947bdb1719028478fdb9.zip
Add custom allocator support
Diffstat (limited to 'test/tree_test.c')
-rw-r--r--test/tree_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tree_test.c b/test/tree_test.c
index 76c247d..7d2b6af 100644
--- a/test/tree_test.c
+++ b/test/tree_test.c
@@ -63,7 +63,7 @@ stress(unsigned test_num, size_t n_elems)
{
uintptr_t r = 0u;
ZixTreeIter* ti = NULL;
- ZixTree* t = zix_tree_new(true, int_cmp, NULL, NULL, NULL);
+ ZixTree* t = zix_tree_new(NULL, true, int_cmp, NULL, NULL, NULL);
// Insert n_elems elements
for (size_t i = 0; i < n_elems; ++i) {