mirror of
https://github.com/FreeRTOS/FreeRTOS-Plus-TCP
synced 2025-10-22 07:51:40 +08:00
Avoid compiler warnings about the printf formats (#1119)
Co-authored-by: Tony Josi <tonyjosi@amazon.com>
This commit is contained in:
@@ -223,7 +223,7 @@ size_t usGetExtensionHeaderLength( const uint8_t * pucEthernetBuffer,
|
||||
|
||||
if( ( uxIndex + uxHopSize ) >= uxBufferLength )
|
||||
{
|
||||
FreeRTOS_debug_printf( ( "The length %lu + %lu of extension header is larger than buffer size %lu \n", uxIndex, uxHopSize, uxBufferLength ) );
|
||||
FreeRTOS_debug_printf( ( "The length %u + %u of extension header is larger than buffer size %u \n", ( unsigned ) uxIndex, ( unsigned ) uxHopSize, ( unsigned ) uxBufferLength ) );
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user