projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a972c87
)
reduce signedness warning
author
"Vladimir N. Oleynik"
<dzo@simtreas.ru>
Fri, 2 Dec 2005 10:10:28 +0000
(10:10 -0000)
committer
"Vladimir N. Oleynik"
<dzo@simtreas.ru>
Fri, 2 Dec 2005 10:10:28 +0000
(10:10 -0000)
libbb/getopt_ulflags.c
patch
|
blob
|
history
diff --git
a/libbb/getopt_ulflags.c
b/libbb/getopt_ulflags.c
index 47f65d6b20f2a2199d5bc18d4469d6b9af259f36..376893fc85b708e1d2321ca877f731356dfd27e7 100644
(file)
--- 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;