mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 18:14:53 +00:00
tcp: fix const warning for LWIP_NETIF_HWADDRHINT==1
This commit is contained in:
parent
ec8c764fcb
commit
8f3df7c862
@ -1875,7 +1875,7 @@ tcp_output_control_segment(const struct tcp_pcb *pcb, struct pbuf *p,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (pcb != NULL) {
|
if (pcb != NULL) {
|
||||||
NETIF_SET_HINTS(netif, &(pcb->netif_hints));
|
NETIF_SET_HINTS(netif, LWIP_CONST_CAST(struct netif_hint*, &(pcb->netif_hints)));
|
||||||
ttl = pcb->ttl;
|
ttl = pcb->ttl;
|
||||||
tos = pcb->tos;
|
tos = pcb->tos;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user