Index: tests/libc/posix_memalign.c |
diff --git a/tests/libc/posix_memalign.c b/tests/libc/posix_memalign.c |
index d418822c003b3091a0a6d30dee0a536232579d9a..4423da0f3820b89641e8b24cd97caf3ebbdfa0b3 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); |