Fixed a missing cast warning

This commit is contained in:
goldsimon 2010-02-09 11:38:00 +00:00
parent 79e6b4c819
commit 68ab197b68

View File

@ -692,7 +692,7 @@ etharp_arp_input(struct netif *netif, struct eth_addr *ethaddr, struct pbuf *p)
for_us = 0;
} else {
/* ARP packet directed to us? */
for_us = ip_addr_cmp(&dipaddr, &(netif->ip_addr));
for_us = (u8_t)ip_addr_cmp(&dipaddr, &(netif->ip_addr));
}
/* ARP message directed to us? */