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

Unified Diff: tests/dynamic_code_loading/dyncode_demand_alloc_test.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: use C-style everywhere 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
« no previous file with comments | « no previous file | tests/libc/memcpy_move_set.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/dynamic_code_loading/dyncode_demand_alloc_test.c
diff --git a/tests/dynamic_code_loading/dyncode_demand_alloc_test.c b/tests/dynamic_code_loading/dyncode_demand_alloc_test.c
index bc8b609d323b48039c8c9dfb8a4a8f59e9fab19c..f892530fe959a208220d83d62c571533a8a4c89b 100644
--- a/tests/dynamic_code_loading/dyncode_demand_alloc_test.c
+++ b/tests/dynamic_code_loading/dyncode_demand_alloc_test.c
@@ -38,7 +38,7 @@ void load_into_page(uint8_t *dest) {
/* Check that the whole page is correctly filled with halts. */
for (ptr = dest; ptr < dest + DYNAMIC_CODE_PAGE_SIZE; ptr += sizeof(halts)) {
if (memcmp(ptr, &halts, sizeof(halts)) != 0) {
- fprintf(stderr, "Mismatch at %p\n", ptr);
+ fprintf(stderr, "Mismatch at %p\n", (void *) ptr);
exit(1);
}
}
« no previous file with comments | « no previous file | tests/libc/memcpy_move_set.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698