[git commit] dhcprelay: change two more variables to unsigned

Denys Vlasenko vda.linux at googlemail.com
Thu Sep 2 15:09:12 UTC 2021


commit: https://git.busybox.net/busybox/commit/?id=f02691939eba5c043a90c0f1f428d4124dc83a1c
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 networking/udhcp/dhcprelay.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/networking/udhcp/dhcprelay.c b/networking/udhcp/dhcprelay.c
index de3e4b0e1..2352c34a2 100644
--- a/networking/udhcp/dhcprelay.c
+++ b/networking/udhcp/dhcprelay.c
@@ -131,7 +131,7 @@ static int get_dhcp_packet_type(struct dhcp_packet *p)
 static char **make_iface_list(char **client_and_server_ifaces, unsigned *client_number)
 {
 	char *s, **iface_list;
-	int i, cn;
+	unsigned i, cn;
 
 	/* get number of items */
 	cn = 2; /* 1 server iface + at least 1 client one */


More information about the busybox-cvs mailing list