netif.c: minor, fix a warning

This commit is contained in:
fbernon 2009-04-29 12:39:16 +00:00
parent 3b5993e6ee
commit 42c59e1079

View File

@ -583,7 +583,7 @@ netif_loop_output(struct netif *netif, struct pbuf *p,
#if LWIP_NETIF_LOOPBACK_MULTITHREADING #if LWIP_NETIF_LOOPBACK_MULTITHREADING
/* For multithreading environment, schedule a call to netif_poll */ /* 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 */ #endif /* LWIP_NETIF_LOOPBACK_MULTITHREADING */
return ERR_OK; return ERR_OK;