resolve some warnings

This commit is contained in:
James E. King III
2018-07-17 14:00:08 +00:00
parent 867cc5f0fc
commit 39f1cc0238
8 changed files with 21 additions and 12 deletions

View File

@ -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;

View File

@ -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: