Index: src/s390/disasm-s390.cc |
diff --git a/src/s390/disasm-s390.cc b/src/s390/disasm-s390.cc |
index 5bab604b7bf1b4b9a71a5057c9c8491aae32c368..274d5d95e5418bab40273fe3d3990c32384085d1 100644 |
--- a/src/s390/disasm-s390.cc |
+++ b/src/s390/disasm-s390.cc |
@@ -1357,7 +1357,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(); |
} |
@@ -1411,7 +1411,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()); |
} |
} |