Merge branch 'arp-c-cleanups' into 'master'
arp_table: use size_t to index arrays.
See merge request slirp/libslirp!142
diff --git a/src/arp_table.c b/src/arp_table.c
index 3cf2ecc..0c7c2c7 100644
--- a/src/arp_table.c
+++ b/src/arp_table.c
@@ -33,7 +33,7 @@
const uint32_t broadcast_addr =
~slirp->vnetwork_mask.s_addr | slirp->vnetwork_addr.s_addr;
ArpTable *arptbl = &slirp->arp_table;
- int i;
+ size_t i;
char ethaddr_str[ETH_ADDRSTRLEN];
char addr[INET_ADDRSTRLEN];
@@ -69,7 +69,7 @@
const uint32_t broadcast_addr =
~slirp->vnetwork_mask.s_addr | slirp->vnetwork_addr.s_addr;
ArpTable *arptbl = &slirp->arp_table;
- int i;
+ size_t i;
char ethaddr_str[ETH_ADDRSTRLEN];
char addr[INET_ADDRSTRLEN];