aboutsummaryrefslogtreecommitdiff
path: root/libbb/parse_mode.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/parse_mode.c')
-rw-r--r--libbb/parse_mode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/parse_mode.c b/libbb/parse_mode.c
index 40105dd3a..6eca00ab1 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)
40 mode_t new_mode; 40 mode_t new_mode;
41 char op; 41 char op;
42 42
43 if (((unsigned int)(*s - '0')) < 8) { 43 if ((unsigned char)(*s - '0') < 8) {
44 unsigned long tmp; 44 unsigned long tmp;
45 char *e; 45 char *e;
46 46