| Index: test/cctest/compiler/test-run-machops.cc
|
| diff --git a/test/cctest/compiler/test-run-machops.cc b/test/cctest/compiler/test-run-machops.cc
|
| index b05b830b7199432a6c5753a1fb29a9ac36053325..1b5aa616a22233cbb9357389af1486406a111494 100644
|
| --- a/test/cctest/compiler/test-run-machops.cc
|
| +++ b/test/cctest/compiler/test-run-machops.cc
|
| @@ -3254,7 +3254,7 @@ TEST(RunChangeFloat64ToUint32_spilled) {
|
|
|
| for (int i = 0; i < kNumInputs; i++) {
|
| if (i % 2) {
|
| - input[i] = 100 + i + 2147483648;
|
| + input[i] = 100 + i + 2147483648u;
|
| } else {
|
| input[i] = 100 + i;
|
| }
|
| @@ -3264,9 +3264,9 @@ TEST(RunChangeFloat64ToUint32_spilled) {
|
|
|
| for (int i = 0; i < kNumInputs; i++) {
|
| if (i % 2) {
|
| - CHECK_EQ(result[i], 100 + i + 2147483648);
|
| + CHECK_UINT32_EQ(result[i], static_cast<uint32_t>(100 + i + 2147483648u));
|
| } else {
|
| - CHECK_EQ(result[i], 100 + i);
|
| + CHECK_UINT32_EQ(result[i], static_cast<uint32_t>(100 + i));
|
| }
|
| }
|
| }
|
|
|