We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
there is another warning when compiling xadapter.c
embeddedsw/ThirdParty/sw_services/lwip211/src/contrib/ports/xilinx/netif/xadapter.c:174:57: warning: passing argument 2 of 'netif_add' from incompatible pointer type [-Wincompatible-pointer-types] | return netif_add(netif, ipaddr, netmask, gw, | ^~~~~~ | | | ip_addr_t * {aka struct ip_addr *}
The fragement
return netif_add(netif, ipaddr, netmask, gw,
should become
return netif_add( netif, (const ip4_addr_t *) ipaddr, (const ip4_addr_t *) netmask, (const ip4_addr_t *) gw,
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
there is another warning when compiling xadapter.c
The fragement
return netif_add(netif, ipaddr, netmask, gw,
should become
The text was updated successfully, but these errors were encountered: