mirror of
https://github.com/boostorg/regex.git
synced 2025-07-14 21:06:38 +02:00
Regex: fix integer shift warning/error in icu.cpp
This commit is contained in:
@ -481,7 +481,7 @@ icu_regex_traits::string_type icu_regex_traits::lookup_collatename(const char_ty
|
|||||||
bool icu_regex_traits::isctype(char_type c, char_class_type f) const
|
bool icu_regex_traits::isctype(char_type c, char_class_type f) const
|
||||||
{
|
{
|
||||||
// check for standard catagories first:
|
// check for standard catagories first:
|
||||||
char_class_type m = char_class_type(1u << u_charType(c));
|
char_class_type m = char_class_type(1uLL << u_charType(c));
|
||||||
if((m & f) != 0)
|
if((m & f) != 0)
|
||||||
return true;
|
return true;
|
||||||
// now check for special cases:
|
// now check for special cases:
|
||||||
|
Reference in New Issue
Block a user