Made loop counters unsigned where possible.

This commit is contained in:
likewise 2004-07-04 23:40:44 +00:00
parent 07f52b4b96
commit efe5ce5c78

View File

@ -110,7 +110,7 @@ static err_t update_arp_entry(struct netif *netif, struct ip_addr *ipaddr, struc
void void
etharp_init(void) etharp_init(void)
{ {
s8_t i; u8_t i;
/* clear ARP entries */ /* clear ARP entries */
for(i = 0; i < ARP_TABLE_SIZE; ++i) { for(i = 0; i < ARP_TABLE_SIZE; ++i) {
arp_table[i].state = ETHARP_STATE_EMPTY; arp_table[i].state = ETHARP_STATE_EMPTY;
@ -130,7 +130,7 @@ etharp_init(void)
void void
etharp_tmr(void) etharp_tmr(void)
{ {
s8_t i; u8_t i;
LWIP_DEBUGF(ETHARP_DEBUG, ("etharp_timer\n")); LWIP_DEBUGF(ETHARP_DEBUG, ("etharp_timer\n"));
/* remove expired entries from the ARP table */ /* remove expired entries from the ARP table */