Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/boost/charconv/detail/from_chars_integer_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ BOOST_CXX14_CONSTEXPR from_chars_result from_chars_integer_impl(const char* firs
else
#endif
{
overflow_value = (std::numeric_limits<Integer>::max)();
max_digit = (std::numeric_limits<Integer>::max)();
overflow_value = static_cast<Unsigned_Integer>((std::numeric_limits<Integer>::max)());
max_digit = static_cast<Unsigned_Integer>((std::numeric_limits<Integer>::max)());
}

if (is_negative)
Expand Down