Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(396)

Unified Diff: tests/libc/posix_memalign.c

Issue 1148953002: Cast pointers used with %p format strings to void * (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698