aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
author"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-12-02 10:10:28 +0000
committer"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-12-02 10:10:28 +0000
commitbf968f71f1f8c09163c40ce5579cba2daa13fa4d (patch)
tree4023acfb9223dcb76109b880adcffd3cac18025e /libbb
parenta972c870a88c82a5b39eb5fd652729afe4f19679 (diff)
downloadbusybox-bf968f71f1f8c09163c40ce5579cba2daa13fa4d.tar.gz
reduce signedness warning
Diffstat (limited to 'libbb')
-rw-r--r--libbb/getopt_ulflags.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/getopt_ulflags.c b/libbb/getopt_ulflags.c
index 47f65d6b2..376893fc8 100644
--- a/libbb/getopt_ulflags.c
+++ b/libbb/getopt_ulflags.c
@@ -311,7 +311,7 @@ bb_getopt_ulflags (int argc, char **argv, const char *applet_opts, ...)
memset(on_off, 0, sizeof(complementally));
/* skip GNU extension */
- s = applet_opts;
+ s = (const unsigned char *)applet_opts;
if(*s == '+' || *s == '-')
s++;
for (; *s; s++) {
@@ -345,7 +345,7 @@ bb_getopt_ulflags (int argc, char **argv, const char *applet_opts, ...)
c++;
}
}
- for (s = bb_opt_complementally; s && *s; s++) {
+ for (s = (const unsigned char *)bb_opt_complementally; s && *s; s++) {
t_complementally *pair;
unsigned long *pair_switch;