diff options
author | vodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-12-02 10:10:28 +0000 |
---|---|---|
committer | vodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-12-02 10:10:28 +0000 |
commit | 522357a88143c29e00d6b90dd62b9bbb61b1b178 (patch) | |
tree | 4023acfb9223dcb76109b880adcffd3cac18025e | |
parent | 67684113514211951237bc32ee0eedbf4de8c8ff (diff) | |
download | busybox-w32-522357a88143c29e00d6b90dd62b9bbb61b1b178.tar.gz busybox-w32-522357a88143c29e00d6b90dd62b9bbb61b1b178.tar.bz2 busybox-w32-522357a88143c29e00d6b90dd62b9bbb61b1b178.zip |
reduce signedness warning
git-svn-id: svn://busybox.net/trunk/busybox@12641 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | libbb/getopt_ulflags.c | 4 |
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, ...) | |||
311 | memset(on_off, 0, sizeof(complementally)); | 311 | memset(on_off, 0, sizeof(complementally)); |
312 | 312 | ||
313 | /* skip GNU extension */ | 313 | /* skip GNU extension */ |
314 | s = applet_opts; | 314 | s = (const unsigned char *)applet_opts; |
315 | if(*s == '+' || *s == '-') | 315 | if(*s == '+' || *s == '-') |
316 | s++; | 316 | s++; |
317 | for (; *s; s++) { | 317 | for (; *s; s++) { |
@@ -345,7 +345,7 @@ bb_getopt_ulflags (int argc, char **argv, const char *applet_opts, ...) | |||
345 | c++; | 345 | c++; |
346 | } | 346 | } |
347 | } | 347 | } |
348 | for (s = bb_opt_complementally; s && *s; s++) { | 348 | for (s = (const unsigned char *)bb_opt_complementally; s && *s; s++) { |
349 | t_complementally *pair; | 349 | t_complementally *pair; |
350 | unsigned long *pair_switch; | 350 | unsigned long *pair_switch; |
351 | 351 | ||