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 38b044b727a53b039fcc4cd27afe62c211909b83..335d20caa01c9264ec7293638ad9d4b336c03d0d 100644 |
--- a/test/cctest/compiler/test-run-machops.cc |
+++ b/test/cctest/compiler/test-run-machops.cc |
@@ -4866,7 +4866,7 @@ TEST(RunChangeFloat32ToFloat64) { |
FOR_FLOAT32_INPUTS(i) { |
expected = *i; |
CHECK_EQ(0, m.Call()); |
- CHECK_EQ(expected, actual); |
+ CHECK_EQ(static_cast<double>(expected), actual); |
} |
} |