summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2021-09-02 17:09:12 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2021-09-02 17:09:12 +0200
commitf02691939eba5c043a90c0f1f428d4124dc83a1c (patch)
treef07a4acdd850e883d5b7fba44b863ee04f96a297
parent3f2d969db9023e273a327418b32ebd4ed88893c4 (diff)
dhcprelay: change two more variables to unsigned
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/udhcp/dhcprelay.c2
1 files changed, 1 insertions, 1 deletions
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 */