Index: src/arm/simulator-arm.cc |
diff --git a/src/arm/simulator-arm.cc b/src/arm/simulator-arm.cc |
index 7174088ced2f04673a9a33cf12b428e7fc14b17a..3ab23e20b9e05559a901c28764c68908d8850368 100644 |
--- a/src/arm/simulator-arm.cc |
+++ b/src/arm/simulator-arm.cc |
@@ -1618,7 +1618,7 @@ void Simulator::HandleVList(Instruction* instr) { |
address += 2; |
} |
} |
- ASSERT_EQ(((intptr_t)address) - operand_size, end_address); |
+ ASSERT(reinterpret_cast<intptr_t>(address) - operand_size == end_address); |
} |