Add missing cast to BaseType_t (#1301)

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
Gaurav-Aggarwal-AWS 2025-07-31 08:02:23 +05:30 committed by GitHub
parent 32e581636f
commit 2da35debfd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -893,7 +893,7 @@ static void prvAddNewTaskToReadyList( TCB_t * pxNewTCB ) PRIVILEGED_FUNCTION;
BaseType_t xCurrentCoreTaskPriority;
BaseType_t xLowestPriorityCore = ( BaseType_t ) -1;
BaseType_t xCoreID;
const BaseType_t xCurrentCoreID = portGET_CORE_ID();
const BaseType_t xCurrentCoreID = ( BaseType_t ) portGET_CORE_ID();
#if ( configRUN_MULTIPLE_PRIORITIES == 0 )
BaseType_t xYieldCount = 0;