Index: src/ppc/disasm-ppc.cc |
diff --git a/src/ppc/disasm-ppc.cc b/src/ppc/disasm-ppc.cc |
index baba14643f9ad02ae0a14a4e65446d5692c4402b..7d4e378d47ffab57403809b081875ad83e194ff3 100644 |
--- a/src/ppc/disasm-ppc.cc |
+++ b/src/ppc/disasm-ppc.cc |
@@ -1401,7 +1401,7 @@ namespace disasm { |
const char* NameConverter::NameOfAddress(byte* addr) const { |
- v8::internal::SNPrintF(tmp_buffer_, "%p", addr); |
+ v8::internal::SNPrintF(tmp_buffer_, "%p", static_cast<void*>(addr)); |
return tmp_buffer_.start(); |
} |
@@ -1461,7 +1461,7 @@ void Disassembler::Disassemble(FILE* f, byte* begin, byte* end) { |
buffer[0] = '\0'; |
byte* prev_pc = pc; |
pc += d.InstructionDecode(buffer, pc); |
- v8::internal::PrintF(f, "%p %08x %s\n", prev_pc, |
+ v8::internal::PrintF(f, "%p %08x %s\n", static_cast<void*>(prev_pc), |
*reinterpret_cast<int32_t*>(prev_pc), buffer.start()); |
} |
} |