diff options
Diffstat (limited to 'libbb/parse_mode.c')
-rw-r--r-- | libbb/parse_mode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/parse_mode.c b/libbb/parse_mode.c index 40105dd..6eca00a 100644 --- a/libbb/parse_mode.c +++ b/libbb/parse_mode.c @@ -40,7 +40,7 @@ int FAST_FUNC bb_parse_mode(const char *s, mode_t *current_mode) mode_t new_mode; char op; - if (((unsigned int)(*s - '0')) < 8) { + if ((unsigned char)(*s - '0') < 8) { unsigned long tmp; char *e; |