[PATCH rtems-lwip 08/10] FIX incompatible pointer warning
berndmoessner80 at gmail.com
berndmoessner80 at gmail.com
Thu Jan 4 00:04:37 UTC 2024
From: Bernd Moessner <berndmoessner80 at gmail.com>
---
.../lwip211/src/contrib/ports/xilinx/netif/xadapter.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/embeddedsw/ThirdParty/sw_services/lwip211/src/contrib/ports/xilinx/netif/xadapter.c b/embeddedsw/ThirdParty/sw_services/lwip211/src/contrib/ports/xilinx/netif/xadapter.c
index 98e7a8e..6ba3cd5 100644
--- a/embeddedsw/ThirdParty/sw_services/lwip211/src/contrib/ports/xilinx/netif/xadapter.c
+++ b/embeddedsw/ThirdParty/sw_services/lwip211/src/contrib/ports/xilinx/netif/xadapter.c
@@ -171,7 +171,10 @@ xemac_add(struct netif *netif,
#if defined (__arm__) || defined (__aarch64__)
case xemac_type_emacps:
#ifdef XLWIP_CONFIG_INCLUDE_GEM
- return netif_add(netif, ipaddr, netmask, gw,
+ return netif_add( netif,
+ (const ip4_addr_t *) ipaddr,
+ (const ip4_addr_t *) netmask,
+ (const ip4_addr_t *) gw,
(void*)mac_baseaddr,
xemacpsif_init,
#if NO_SYS
--
2.34.1
More information about the devel
mailing list