222 ucx_avl_free(tree2); |
222 ucx_avl_free(tree2); |
223 ucx_avl_free(tree3); |
223 ucx_avl_free(tree3); |
224 ucx_avl_free(tree4); |
224 ucx_avl_free(tree4); |
225 } |
225 } |
226 |
226 |
227 static intmax_t dist_int(void* a, void* b, void* n) { |
227 static intmax_t dist_int(const void* a, const void* b, void* n) { |
228 return ((intmax_t)a)-((intmax_t)b); |
228 return ((intmax_t)a)-((intmax_t)b); |
229 } |
229 } |
230 |
230 |
231 UCX_TEST(test_ucx_avl_find) { |
231 UCX_TEST(test_ucx_avl_find) { |
232 UcxAVLTree *tree = ucx_avl_new(ucx_ptrcmp); |
232 UcxAVLTree *tree = ucx_avl_new(ucx_ptrcmp); |