Add missing cast to BaseType_t (#1301)
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
diff --git a/tasks.c b/tasks.c
index 24cfb26..1e6ecdc 100644
--- a/tasks.c
+++ b/tasks.c
@@ -893,7 +893,7 @@
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;