diff --git a/test/test_expint.hpp b/test/test_expint.hpp index fb2f138c2..a5a98d6ef 100644 --- a/test/test_expint.hpp +++ b/test/test_expint.hpp @@ -205,12 +205,12 @@ void test_spots(T, const char* t) BOOST_CHECK_EQUAL(boost::math::expint(boost::math::tools::log_max_value() * 2), std::numeric_limits::infinity()); if (boost::math::tools::log_max_value() < boost::math::tools::log_max_value()) { - BOOST_CHECK_EQUAL(boost::math::expint(boost::math::tools::log_max_value() * 2), std::numeric_limits::infinity()); + BOOST_CHECK_EQUAL(boost::math::expint(static_cast(boost::math::tools::log_max_value() * 2)), std::numeric_limits::infinity()); } BOOST_CHECK_EQUAL(boost::math::expint(boost::math::tools::log_max_value() + T(38)), std::numeric_limits::infinity()); if (boost::math::tools::log_max_value() < boost::math::tools::log_max_value()) { - BOOST_CHECK_EQUAL(boost::math::expint(boost::math::tools::log_max_value() + T(38)), std::numeric_limits::infinity()); + BOOST_CHECK_EQUAL(boost::math::expint(static_cast(boost::math::tools::log_max_value() + T(38))), std::numeric_limits::infinity()); } } else