summaryrefslogtreecommitdiff
path: root/boost/math/special_functions/round.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/math/special_functions/round.hpp')
-rw-r--r--boost/math/special_functions/round.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/math/special_functions/round.hpp b/boost/math/special_functions/round.hpp
index f11c6aeb1d..2b4497e198 100644
--- a/boost/math/special_functions/round.hpp
+++ b/boost/math/special_functions/round.hpp
@@ -76,7 +76,7 @@ inline boost::long_long_type llround(const T& v, const Policy& pol)
BOOST_MATH_STD_USING
T r = boost::math::round(v, pol);
if((r > (std::numeric_limits<boost::long_long_type>::max)()) || (r < (std::numeric_limits<boost::long_long_type>::min)()))
- return static_cast<boost::long_long_type>(policies::raise_rounding_error("boost::math::llround<%1%>(%1%)", 0, v, 0LL, pol));
+ return static_cast<boost::long_long_type>(policies::raise_rounding_error("boost::math::llround<%1%>(%1%)", 0, v, static_cast<boost::long_long_type>(0), pol));
return static_cast<boost::long_long_type>(r);
}
template <class T>