diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index 4282815b..5d01c776 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -972,7 +972,7 @@ public: void reserve(std::size_t n) { - rehash(std::size_t(std::ceil(n/mlf))); + rehash(std::size_t(std::ceil(static_cast(n)/mlf))); } private: