Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index e2a32e30211baa5abf518350ade66e62e6827311..2cc7add49e6dae475cb6a3fe6435a4a2e12f36c7 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -260,7 +260,7 @@ TEST(SimdObjects) { |
// Check special lane values. |
value->set_lane(1, -0.0); |
- CHECK_EQ(-0.0, value->get_lane(1)); |
+ CHECK_EQ(-0.0f, value->get_lane(1)); |
CHECK(std::signbit(value->get_lane(1))); // Sign bit should be preserved. |
value->set_lane(2, quiet_NaN); |
CHECK(std::isnan(value->get_lane(2))); |