mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-03-14 10:21:12 +00:00
fixed bug #54006: Two compiler warnings on IAR when debug is enabled
This commit is contained in:
parent
f8e7cccf21
commit
288d3c2802
@ -1106,16 +1106,16 @@ ip4_debug_print(struct pbuf *p)
|
|||||||
lwip_ntohs(IPH_CHKSUM(iphdr))));
|
lwip_ntohs(IPH_CHKSUM(iphdr))));
|
||||||
LWIP_DEBUGF(IP_DEBUG, ("+-------------------------------+\n"));
|
LWIP_DEBUGF(IP_DEBUG, ("+-------------------------------+\n"));
|
||||||
LWIP_DEBUGF(IP_DEBUG, ("| %3"U16_F" | %3"U16_F" | %3"U16_F" | %3"U16_F" | (src)\n",
|
LWIP_DEBUGF(IP_DEBUG, ("| %3"U16_F" | %3"U16_F" | %3"U16_F" | %3"U16_F" | (src)\n",
|
||||||
ip4_addr1_16(&iphdr->src),
|
ip4_addr1_16_val(iphdr->src),
|
||||||
ip4_addr2_16(&iphdr->src),
|
ip4_addr1_16_val(iphdr->src),
|
||||||
ip4_addr3_16(&iphdr->src),
|
ip4_addr1_16_val(iphdr->src),
|
||||||
ip4_addr4_16(&iphdr->src)));
|
ip4_addr1_16_val(iphdr->src)));
|
||||||
LWIP_DEBUGF(IP_DEBUG, ("+-------------------------------+\n"));
|
LWIP_DEBUGF(IP_DEBUG, ("+-------------------------------+\n"));
|
||||||
LWIP_DEBUGF(IP_DEBUG, ("| %3"U16_F" | %3"U16_F" | %3"U16_F" | %3"U16_F" | (dest)\n",
|
LWIP_DEBUGF(IP_DEBUG, ("| %3"U16_F" | %3"U16_F" | %3"U16_F" | %3"U16_F" | (dest)\n",
|
||||||
ip4_addr1_16(&iphdr->dest),
|
ip4_addr1_16_val(iphdr->dest),
|
||||||
ip4_addr2_16(&iphdr->dest),
|
ip4_addr1_16_val(iphdr->dest),
|
||||||
ip4_addr3_16(&iphdr->dest),
|
ip4_addr1_16_val(iphdr->dest),
|
||||||
ip4_addr4_16(&iphdr->dest)));
|
ip4_addr1_16_val(iphdr->dest)));
|
||||||
LWIP_DEBUGF(IP_DEBUG, ("+-------------------------------+\n"));
|
LWIP_DEBUGF(IP_DEBUG, ("+-------------------------------+\n"));
|
||||||
}
|
}
|
||||||
#endif /* IP_DEBUG */
|
#endif /* IP_DEBUG */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user