Index: test/cctest/test-reloc-info.cc |
diff --git a/test/cctest/test-reloc-info.cc b/test/cctest/test-reloc-info.cc |
index 4346f0083ecb467f3eb71196925beb6f3aa5b7f5..7ddc44bba01cd4bdad42ea695a6d62bbdbc891f3 100644 |
--- a/test/cctest/test-reloc-info.cc |
+++ b/test/cctest/test-reloc-info.cc |
@@ -57,9 +57,9 @@ TEST(Positions) { |
RelocInfo::Mode mode = (i % 2 == 0) ? |
RelocInfo::STATEMENT_POSITION : RelocInfo::POSITION; |
if (mode == RelocInfo::STATEMENT_POSITION) { |
- printf("TEST WRITING STATEMENT %p %d\n", pc, pos); |
+ printf("TEST WRITING STATEMENT %p %d\n", static_cast<void*>(pc), pos); |
} else { |
- printf("TEST WRITING POSITION %p %d\n", pc, pos); |
+ printf("TEST WRITING POSITION %p %d\n", static_cast<void*>(pc), pos); |
} |
WriteRinfo(&writer, pc, mode, pos); |
CHECK(writer.pos() - RelocInfoWriter::kMaxSize >= relocation_info_end); |