Index: src/compiler/arm/unwinding-info-writer-arm.cc |
diff --git a/src/compiler/arm/unwinding-info-writer-arm.cc b/src/compiler/arm/unwinding-info-writer-arm.cc |
index a9506121909ebd5d5b26f16c482d4c49fa3341b4..579e5c7f0a0134a143b0c6c2022e4cf64925a25a 100644 |
--- a/src/compiler/arm/unwinding-info-writer-arm.cc |
+++ b/src/compiler/arm/unwinding-info-writer-arm.cc |
@@ -15,7 +15,8 @@ void UnwindingInfoWriter::BeginInstructionBlock(int pc_offset, |
block_will_exit_ = false; |
- DCHECK_LT(block->rpo_number().ToInt(), block_initial_states_.size()); |
+ DCHECK_LT(block->rpo_number().ToInt(), |
+ static_cast<int>(block_initial_states_.size())); |
const BlockInitialState* initial_state = |
block_initial_states_[block->rpo_number().ToInt()]; |
if (initial_state) { |
@@ -42,7 +43,7 @@ void UnwindingInfoWriter::EndInstructionBlock(const InstructionBlock* block) { |
for (const RpoNumber& successor : block->successors()) { |
int successor_index = successor.ToInt(); |
- DCHECK_LT(successor_index, block_initial_states_.size()); |
+ DCHECK_LT(successor_index, static_cast<int>(block_initial_states_.size())); |
const BlockInitialState* existing_state = |
block_initial_states_[successor_index]; |