Skip to content

Commit 2da35de

Browse files
authored
Add missing cast to BaseType_t (#1301)
Signed-off-by: Gaurav Aggarwal <[email protected]>
1 parent 32e5816 commit 2da35de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ static void prvAddNewTaskToReadyList( TCB_t * pxNewTCB ) PRIVILEGED_FUNCTION;
893893
BaseType_t xCurrentCoreTaskPriority;
894894
BaseType_t xLowestPriorityCore = ( BaseType_t ) -1;
895895
BaseType_t xCoreID;
896-
const BaseType_t xCurrentCoreID = portGET_CORE_ID();
896+
const BaseType_t xCurrentCoreID = ( BaseType_t ) portGET_CORE_ID();
897897

898898
#if ( configRUN_MULTIPLE_PRIORITIES == 0 )
899899
BaseType_t xYieldCount = 0;

0 commit comments

Comments
 (0)