From 68ab197b683e0f4eb2513154b1c6e6afbffa9be8 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Tue, 9 Feb 2010 11:38:00 +0000 Subject: [PATCH] Fixed a missing cast warning --- src/netif/etharp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/netif/etharp.c b/src/netif/etharp.c index ddd9998d..1a9d0ded 100644 --- a/src/netif/etharp.c +++ b/src/netif/etharp.c @@ -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? */