Index: src/arm/assembler-arm.cc |
diff --git a/src/arm/assembler-arm.cc b/src/arm/assembler-arm.cc |
index dc57cf4744a673a7846bd80f029001192e1dd905..7df9202324945a0f244319e7261e73934b8af05a 100644 |
--- a/src/arm/assembler-arm.cc |
+++ b/src/arm/assembler-arm.cc |
@@ -3685,7 +3685,8 @@ void ConstantPoolBuilder::Populate(Assembler* assm, |
if (type == ConstantPoolArray::INT64) { |
constant_pool->set_at_offset(offset, rinfo.data64()); |
} else if (type == ConstantPoolArray::INT32) { |
- constant_pool->set_at_offset(offset, rinfo.data()); |
+ constant_pool->set_at_offset(offset, |
+ static_cast<int32_t>(rinfo.data())); |
} else if (type == ConstantPoolArray::CODE_PTR) { |
constant_pool->set_at_offset(offset, |
reinterpret_cast<Address>(rinfo.data())); |