1
0
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:
Hein Tibosch
2024-04-03 18:57:40 +08:00
committed by GitHub
parent 668f266398
commit 05f6ecae35
3 changed files with 20 additions and 20 deletions

View File

@@ -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;
}