--- a/test/avl_tests.c Sat Jul 15 19:20:06 2017 +0200 +++ b/test/avl_tests.c Sat Jul 15 20:46:18 2017 +0200 @@ -224,7 +224,7 @@ ucx_avl_free(tree4); } -static intmax_t dist_int(void* a, void* b, void* n) { +static intmax_t dist_int(const void* a, const void* b, void* n) { return ((intmax_t)a)-((intmax_t)b); }