Fix MISRA Rule 10.1 violations (#976)
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user