diff options
-rw-r--r-- | src/test/test_ptr_slow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_ptr_slow.c b/src/test/test_ptr_slow.c index 632a304177..f064a3e7c2 100644 --- a/src/test/test_ptr_slow.c +++ b/src/test/test_ptr_slow.c @@ -44,9 +44,9 @@ test_int_voidstar_interop(void *arg) static void assert_uint_voidptr_roundtrip(unsigned int a) { - intptr_t ap = (intptr_t)a; + uintptr_t ap = (uintptr_t)a; void *b = (void *)ap; - intptr_t c = (intptr_t)b; + uintptr_t c = (uintptr_t)b; void *d = (void *)c; tt_assert(ap == c); |