Index: tests/libc/posix_memalign.c |
diff --git a/tests/libc/posix_memalign.c b/tests/libc/posix_memalign.c |
index d418822c003b3091a0a6d30dee0a536232579d9a..3d80c5a6480fca87f74e2c74906625858fa9cdac 100644 |
--- a/tests/libc/posix_memalign.c |
+++ b/tests/libc/posix_memalign.c |
@@ -33,7 +33,7 @@ int main(int argc, char* argv[]) { |
} |
if ((size_t)outp % align_to_test[i] != 0) { |
fprintf(stderr, "posix_memalign failed to align to %zu: ptr=%p\n", |
- align_to_test[i], outp); |
+ align_to_test[i], (void *) outp); |
return 1; |
} |
free(outp); |