resolve some warnings

This commit is contained in:
James E. King III
2018-07-20 18:29:11 +00:00
parent 867cc5f0fc
commit 39f1cc0238
8 changed files with 21 additions and 12 deletions
+1 -1
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;
+1 -1
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: