--- a/test/avl_tests.c Sat Aug 10 08:45:12 2019 +0200 +++ b/test/avl_tests.c Sat Aug 10 08:47:25 2019 +0200 @@ -225,7 +225,7 @@ } static intmax_t dist_int(const void* a, const void* b, void* n) { - return ((intmax_t)a)-((intmax_t)b); + return ((intptr_t)a)-((intptr_t)b); } UCX_TEST(test_ucx_avl_find) {