mirror of
https://github.com/boostorg/regex.git
synced 2025-07-17 14:22:08 +02:00
@ -1107,7 +1107,7 @@ bool basic_regex_parser<charT, traits>::parse_repeat_range(bool isbasic)
|
|||||||
}
|
}
|
||||||
// get the value if any:
|
// get the value if any:
|
||||||
v = this->m_traits.toi(m_position, m_end, 10);
|
v = this->m_traits.toi(m_position, m_end, 10);
|
||||||
max = (v >= 0) ? v : (std::numeric_limits<std::size_t>::max)();
|
max = (v >= 0) ? (std::size_t)v : (std::numeric_limits<std::size_t>::max)();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user