mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
reduce signedness warning
This commit is contained in:
parent
a972c870a8
commit
bf968f71f1
@ -311,7 +311,7 @@ bb_getopt_ulflags (int argc, char **argv, const char *applet_opts, ...)
|
|||||||
memset(on_off, 0, sizeof(complementally));
|
memset(on_off, 0, sizeof(complementally));
|
||||||
|
|
||||||
/* skip GNU extension */
|
/* skip GNU extension */
|
||||||
s = applet_opts;
|
s = (const unsigned char *)applet_opts;
|
||||||
if(*s == '+' || *s == '-')
|
if(*s == '+' || *s == '-')
|
||||||
s++;
|
s++;
|
||||||
for (; *s; s++) {
|
for (; *s; s++) {
|
||||||
@ -345,7 +345,7 @@ bb_getopt_ulflags (int argc, char **argv, const char *applet_opts, ...)
|
|||||||
c++;
|
c++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (s = bb_opt_complementally; s && *s; s++) {
|
for (s = (const unsigned char *)bb_opt_complementally; s && *s; s++) {
|
||||||
t_complementally *pair;
|
t_complementally *pair;
|
||||||
unsigned long *pair_switch;
|
unsigned long *pair_switch;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user