Fix MISRA Rule 10.1 violations (#976)

Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
This commit is contained in:
bradleysmith23 2024-01-31 23:06:56 -08:00 committed by GitHub
parent 1de764ba87
commit edd35e8f6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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