Merge pull request #63 from jeking3/warnings

resolve some warnings
This commit is contained in:
jzmaddock
2018-08-25 18:11:20 +01:00
committed by GitHub
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: