[PATCH rtems-lwip - v1 07/11] FIX: incompatible pointer warning
berndmoessner80 at gmail.com
berndmoessner80 at gmail.com
Thu Jan 4 00:08:42 UTC 2024
From: Bernd Moessner <berndmoessner80 at gmail.com>
---
.../lwip211/src/contrib/ports/xilinx/netif/xemacpsif.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/embeddedsw/ThirdParty/sw_services/lwip211/src/contrib/ports/xilinx/netif/xemacpsif.c b/embeddedsw/ThirdParty/sw_services/lwip211/src/contrib/ports/xilinx/netif/xemacpsif.c
index 1bf3abb..d0fbd8c 100644
--- a/embeddedsw/ThirdParty/sw_services/lwip211/src/contrib/ports/xilinx/netif/xemacpsif.c
+++ b/embeddedsw/ThirdParty/sw_services/lwip211/src/contrib/ports/xilinx/netif/xemacpsif.c
@@ -239,7 +239,7 @@ static err_t xemacpsif_output(struct netif *netif, struct pbuf *p,
const ip_addr_t *ipaddr)
{
/* resolve hardware address, then send (or queue) packet */
- return etharp_output(netif, p, ipaddr);
+ return etharp_output(netif, p, (const ip4_addr_t*) ipaddr);
}
/*
--
2.34.1
More information about the devel
mailing list