Index: src/mips/disasm-mips.cc |
diff --git a/src/mips/disasm-mips.cc b/src/mips/disasm-mips.cc |
index e1890eec74cd9db77d4c7e337e6e2f4afb421792..3513c4a496ee594e4d57764be96a768da062a67a 100644 |
--- a/src/mips/disasm-mips.cc |
+++ b/src/mips/disasm-mips.cc |
@@ -1699,7 +1699,7 @@ int Decoder::InstructionDecode(byte* instr_ptr) { |
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(); |
} |
@@ -1762,8 +1762,8 @@ 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, *reinterpret_cast<int32_t*>(prev_pc), buffer.start()); |
+ v8::internal::PrintF(f, "%p %08x %s\n", static_cast<void*>(prev_pc), |
+ *reinterpret_cast<int32_t*>(prev_pc), buffer.start()); |
} |
} |