diff options
Diffstat (limited to 'test/rbtree.c')
-rw-r--r-- | test/rbtree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rbtree.c b/test/rbtree.c index a28bcfb..ac27964 100644 --- a/test/rbtree.c +++ b/test/rbtree.c @@ -25,8 +25,8 @@ int main(int argc, char **argv) UNUSED(argc); UNUSED(argv); - tree = parserutils_rbtree_create(mycmp, myrealloc, NULL); - assert(tree != NULL); + assert(parserutils_rbtree_create(mycmp, myrealloc, NULL, &tree) == + PARSERUTILS_OK); #define N 40000 #define G 307 |