mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-04 13:34:38 +08:00
Fixed a missing cast warning
This commit is contained in:
parent
79e6b4c819
commit
68ab197b68
@ -692,7 +692,7 @@ etharp_arp_input(struct netif *netif, struct eth_addr *ethaddr, struct pbuf *p)
|
|||||||
for_us = 0;
|
for_us = 0;
|
||||||
} else {
|
} else {
|
||||||
/* ARP packet directed to us? */
|
/* 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? */
|
/* ARP message directed to us? */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user