mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 18:14:53 +00:00
Made loop counters unsigned where possible.
This commit is contained in:
parent
07f52b4b96
commit
efe5ce5c78
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user