Allow escaped 8 bit characters in bb_opt_complementaly
authorGlenn L McGrath <bug1@ihug.co.nz>
Fri, 19 Dec 2003 12:03:18 +0000 (12:03 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Fri, 19 Dec 2003 12:03:18 +0000 (12:03 -0000)
libbb/getopt_ulflags.c

index 371fdab265bb529d8017b9658c6b6f2c07ad38cc..42e83c413886ab2be95cdcc3bbdf1a620d00123d 100644 (file)
@@ -83,7 +83,7 @@ bb_getopt_ulflags (int argc, char **argv, const char *applet_opts, ...)
 {
        unsigned long flags = 0;
   int c = 0;
-       const char *s;
+       const unsigned char *s;
   t_complementaly *complementaly;
   t_complementaly *on_off;
   va_list p;