# HG changeset patch # User Mike Becker # Date 1565419598 -7200 # Node ID 87c22ec6a0fd56cb2467f06c7aef7bc55dfdb466 # Parent b3ad9d1a20b79a2363e91709b830f2d1dd00fdf3 fixes dist_int() function in AVL tests broken on 32 bit platforms diff -r b3ad9d1a20b7 -r 87c22ec6a0fd test/avl_tests.c --- 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) {