From d5314e71294d228cff5d86e00d15661461f68fc9 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 24 Jun 2020 09:31:30 +0200 Subject: suppress a few compile warnings Signed-off-by: Denys Vlasenko --- libbb/lineedit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbb') diff --git a/libbb/lineedit.c b/libbb/lineedit.c index de236dea0..e40a72064 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c @@ -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) -- cgit v1.2.3