From efe5ce5c78e95e3aae8a7e26a72112237c9ecc8e Mon Sep 17 00:00:00 2001 From: likewise Date: Sun, 4 Jul 2004 23:40:44 +0000 Subject: [PATCH] Made loop counters unsigned where possible. --- src/netif/etharp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/netif/etharp.c b/src/netif/etharp.c index 5c0cb87a..189bccec 100644 --- a/src/netif/etharp.c +++ b/src/netif/etharp.c @@ -110,7 +110,7 @@ static err_t update_arp_entry(struct netif *netif, struct ip_addr *ipaddr, struc void etharp_init(void) { - s8_t i; + u8_t i; /* clear ARP entries */ for(i = 0; i < ARP_TABLE_SIZE; ++i) { arp_table[i].state = ETHARP_STATE_EMPTY; @@ -130,7 +130,7 @@ etharp_init(void) void etharp_tmr(void) { - s8_t i; + u8_t i; LWIP_DEBUGF(ETHARP_DEBUG, ("etharp_timer\n")); /* remove expired entries from the ARP table */