suppress a few compile warnings

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2020-06-24 09:31:30 +02:00
parent 7c443d110d
commit d5314e7129
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ static bool BB_ispunct(CHAR_T c)
# if ENABLE_FEATURE_EDITING_VI
static bool BB_isalnum_or_underscore(CHAR_T c)
{
return ((unsigned)c < 256 && isalnum(c)) || c == '_';
return isalnum(c) || c == '_';
}
# endif
# define BB_ispunct(c) ispunct(c)