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 |
1.1 --- a/test/avl_tests.c Fri Dec 28 17:20:23 2018 +0100 1.2 +++ b/test/avl_tests.c Sat Aug 10 08:46:38 2019 +0200 1.3 @@ -225,7 +225,7 @@ 1.4 } 1.5 1.6 static intmax_t dist_int(const void* a, const void* b, void* n) { 1.7 - return ((intmax_t)a)-((intmax_t)b); 1.8 + return ((intptr_t)a)-((intptr_t)b); 1.9 } 1.10 1.11 UCX_TEST(test_ucx_avl_find) {