diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index 3f210014..2ad8e575 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -974,7 +974,7 @@ private: return {it,false}; } else if(BOOST_UNLIKELY(size_>=ml)){ - unchecked_rehash(std::size_t(std::ceil((size_+1)/mlf))); + unchecked_rehash(std::size_t(std::ceil(static_cast(size_+1)/mlf))); pos0=position_for(hash); } return {