Index: src/arm/disasm-arm.cc |
diff --git a/src/arm/disasm-arm.cc b/src/arm/disasm-arm.cc |
index 4a03f7119b695eb0c7197bc7f396bd8cde1f5b71..054cb2c1cff5b0a79e74394d27c393fd8c2f5a41 100644 |
--- a/src/arm/disasm-arm.cc |
+++ b/src/arm/disasm-arm.cc |
@@ -2048,7 +2048,7 @@ 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(); |
} |
@@ -2111,9 +2111,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()); |
} |
} |