svn commit: trunk/busybox/libbb

vodz at busybox.net vodz at busybox.net
Fri Dec 2 10:10:29 UTC 2005


Author: vodz
Date: 2005-12-02 02:10:28 -0800 (Fri, 02 Dec 2005)
New Revision: 12641

Log:
reduce signedness warning

Modified:
   trunk/busybox/libbb/getopt_ulflags.c


Changeset:
Modified: trunk/busybox/libbb/getopt_ulflags.c
===================================================================
--- trunk/busybox/libbb/getopt_ulflags.c	2005-12-02 10:06:04 UTC (rev 12640)
+++ trunk/busybox/libbb/getopt_ulflags.c	2005-12-02 10:10:28 UTC (rev 12641)
@@ -311,7 +311,7 @@
 	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 @@
 			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;
 




More information about the busybox-cvs mailing list