Fix MISRA Rule 10.1 violations

This commit is contained in:
bradleysmith23 2024-01-31 16:35:09 -08:00
parent ba1e2dad3c
commit 1ff3f69fd4

View file

@ -263,7 +263,7 @@
if( xKernelObjectPool[ i ].xInternalObjectHandle == NULL )
{
/* Mark this index as not free. */
xKernelObjectPool[ i ].xInternalObjectHandle = ( OpaqueObjectHandle_t ) ( ~0 );
xKernelObjectPool[ i ].xInternalObjectHandle = ( OpaqueObjectHandle_t ) ( ~0U );
lFreeIndex = i;
break;
}