Index: src/x87/disasm-x87.cc |
diff --git a/src/x87/disasm-x87.cc b/src/x87/disasm-x87.cc |
index 3a65c3a33fc729e77d0ccbafc67a000a87784839..be9167bc921bcf514ba699cea839dd38559b4d42 100644 |
--- a/src/x87/disasm-x87.cc |
+++ b/src/x87/disasm-x87.cc |
@@ -1780,7 +1780,7 @@ static const char* const xmm_regs[8] = { |
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(); |
} |
@@ -1843,7 +1843,7 @@ int Disassembler::ConstantPoolSizeAt(byte* instruction) { return -1; } |
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++) { |