mirror of
https://github.com/boostorg/regex.git
synced 2025-07-29 03:57:27 +02:00
resolve some warnings
This commit is contained in:
@ -832,7 +832,7 @@ bool iswild(const char* mask, const char* name)
|
||||
++mask;
|
||||
continue;
|
||||
}
|
||||
// fall through:
|
||||
// fall through
|
||||
default:
|
||||
if(BOOST_REGEX_FI_TRANSLATE(*mask) != BOOST_REGEX_FI_TRANSLATE(*name))
|
||||
return false;
|
||||
|
@ -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
|
||||
{
|
||||
// check for standard catagories first:
|
||||
char_class_type m = char_class_type(1uLL << u_charType(c));
|
||||
char_class_type m = char_class_type(static_cast<char_class_type>(1) << u_charType(c));
|
||||
if((m & f) != 0)
|
||||
return true;
|
||||
// now check for special cases:
|
||||
|
Reference in New Issue
Block a user