diff --git a/include/boost/regex/v4/regex_traits_defaults.hpp b/include/boost/regex/v4/regex_traits_defaults.hpp index 7445ac58..6a0783c7 100644 --- a/include/boost/regex/v4/regex_traits_defaults.hpp +++ b/include/boost/regex/v4/regex_traits_defaults.hpp @@ -53,7 +53,7 @@ namespace boost{ namespace BOOST_REGEX_DETAIL_NS{ // template inline bool is_extended(charT c) -{ return c > 256; } +{ return c >= 256u; } inline bool is_extended(char) { return false; }