Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 22b9477c65468316759682897d84646a39ebc21d..3644d7abae6435bc343e69d6407b79b72fb8ae2c 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -8593,7 +8593,7 @@ THREADED_TEST(QuietSignalingNaNs) { |
} else { |
uint64_t stored_bits = DoubleToBits(stored_number); |
// Check if quiet nan (bits 51..62 all set). |
- CHECK_EQ(0xfff, (stored_bits >> 51) & 0xfff); |
+ CHECK_EQ(0xfff, static_cast<int>((stored_bits >> 51) & 0xfff)); |
} |
// Check that Date::New preserves non-NaNs in the date range and |
@@ -8606,7 +8606,7 @@ THREADED_TEST(QuietSignalingNaNs) { |
} else { |
uint64_t stored_bits = DoubleToBits(stored_date); |
// Check if quiet nan (bits 51..62 all set). |
- CHECK_EQ(0xfff, (stored_bits >> 51) & 0xfff); |
+ CHECK_EQ(0xfff, static_cast<int>((stored_bits >> 51) & 0xfff)); |
} |
} |
} |