diff --git a/include/boost/core/span.hpp b/include/boost/core/span.hpp index a0be177..54dafdb 100644 --- a/include/boost/core/span.hpp +++ b/include/boost/core/span.hpp @@ -15,7 +15,7 @@ Distributed under the Boost Software License, Version 1.0. namespace boost { -constexpr std::size_t dynamic_extent = -1; +constexpr std::size_t dynamic_extent = static_cast(-1); template class span;