You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ntohl() returns a u32, which is defined as an unsigned long in GCC.
> /source/FreeRTOS_IPv4.c:442:52: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=8;;]
> 442 | FreeRTOS_printf( ( "prvAllowIPPacket: UDP packet from %xip without CRC dropped\n",
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /build/src/FreeRTOSIPConfig.h:75:12: note: in definition of macro 'FreeRTOS_printf'
> 75 | printf X
> | ^
> /source/FreeRTOS_IPv4.c:442:88: note: format string is defined here
> 442 | FreeRTOS_printf( ( "prvAllowIPPacket: UDP packet from %xip without CRC dropped\n",
> | ~^
> | |
> | unsigned int
> | %lx
0 commit comments