Index: test/cctest/compiler/test-run-load-store.cc |
diff --git a/test/cctest/compiler/test-run-load-store.cc b/test/cctest/compiler/test-run-load-store.cc |
index 246112938409742dfbffa8596718dcb77c64d2d5..b4970612a5f45dcd3a02e888d2c0d825f776d42d 100644 |
--- a/test/cctest/compiler/test-run-load-store.cc |
+++ b/test/cctest/compiler/test-run-load-store.cc |
@@ -988,12 +988,13 @@ void TestRunOobCheckedLoad_pseudo(uint64_t x, bool length_is_immediate) { |
for (uint32_t i = 0; i < kNumElems; i++) { |
uint32_t offset = static_cast<uint32_t>(i * sizeof(int32_t)); |
uint32_t expected = buffer[i]; |
- CHECK_EQ(expected, m.Call(offset + pseudo_base, kLength)); |
+ CHECK_EQ(expected, |
+ static_cast<uint32_t>(m.Call(offset + pseudo_base, kLength))); |
} |
// slightly out-of-bounds accesses. |
- for (int32_t i = kNumElems; i < kNumElems + 30; i++) { |
- uint32_t offset = static_cast<uint32_t>(i * sizeof(int32_t)); |
+ for (uint32_t i = kNumElems; i < kNumElems + 30; i++) { |
+ uint32_t offset = i * sizeof(int32_t); |
CheckOobValue(m.Call(offset + pseudo_base, kLength)); |
} |