mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-03 21:14:40 +08:00
netif.c: minor, fix a warning
This commit is contained in:
parent
3b5993e6ee
commit
42c59e1079
@ -583,7 +583,7 @@ netif_loop_output(struct netif *netif, struct pbuf *p,
|
||||
|
||||
#if LWIP_NETIF_LOOPBACK_MULTITHREADING
|
||||
/* For multithreading environment, schedule a call to netif_poll */
|
||||
tcpip_callback(netif_poll, netif);
|
||||
tcpip_callback((void (*)(void *))(netif_poll), netif);
|
||||
#endif /* LWIP_NETIF_LOOPBACK_MULTITHREADING */
|
||||
|
||||
return ERR_OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user