Index: src/ia32/disasm-ia32.cc |
diff --git a/src/ia32/disasm-ia32.cc b/src/ia32/disasm-ia32.cc |
index d776365b5959b2d34835bd660506afa8dda48003..8e8039ca412c14ab15e1bbfca53af539fc74fee0 100644 |
--- a/src/ia32/disasm-ia32.cc |
+++ b/src/ia32/disasm-ia32.cc |
@@ -2235,7 +2235,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(); |
} |
@@ -2298,7 +2298,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++) { |