projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
traceroute: fix help text to not show -6 when traceroute6 is off
[oweals/busybox.git]
/
libbb
/
parse_mode.c
diff --git
a/libbb/parse_mode.c
b/libbb/parse_mode.c
index 40105dd3a27d464a01598db88c3b95d50cea0571..6eca00ab11e4eb9df3483984e754d929491191c5 100644
(file)
--- 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;