commit | d5314e71294d228cff5d86e00d15661461f68fc9 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Wed Jun 24 09:31:30 2020 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Wed Jun 24 09:31:30 2020 +0200 |
tree | 82dbf50b79f7bde1889042dfd3214a7307e5cb12 | |
parent | 7c443d110d4dc51ba48bad8ed1427716b754bf2e [diff] [blame] |
suppress a few compile warnings Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index de236de..e40a720 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c
@@ -99,7 +99,7 @@ # 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)