Index: src/x64/disasm-x64.cc |
diff --git a/src/x64/disasm-x64.cc b/src/x64/disasm-x64.cc |
index 0f5230a19fd02f471f4d53d5348cb639c22b731f..5ac2ca2d53057cd688fc50fd63c54f450af58e70 100644 |
--- a/src/x64/disasm-x64.cc |
+++ b/src/x64/disasm-x64.cc |
@@ -2439,7 +2439,7 @@ static const char* const xmm_regs[16] = { |
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(); |
} |
@@ -2506,7 +2506,7 @@ void Disassembler::Disassemble(FILE* f, byte* begin, byte* end) { |
buffer[0] = '\0'; |
byte* prev_pc = pc; |
pc += d.InstructionDecode(buffer, pc); |
- fprintf(f, "%p", prev_pc); |
+ fprintf(f, "%p", static_cast<void*>(prev_pc)); |
fprintf(f, " "); |
for (byte* bp = prev_pc; bp < pc; bp++) { |