Sat, 10 Aug 2019 08:46:38 +0200
fixes dist_int() function in AVL tests broken on 32 bit platforms
test/avl_tests.c | file | annotate | diff | comparison | revisions |
--- a/test/avl_tests.c Fri Dec 28 17:20:23 2018 +0100 +++ b/test/avl_tests.c Sat Aug 10 08:46:38 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) {