@@ -2657,7 +2657,7 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
2657
2657
* https://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html */
2658
2658
portASSERT_IF_INTERRUPT_PRIORITY_INVALID ();
2659
2659
2660
- uxSavedInterruptStatus = taskENTER_CRITICAL_FROM_ISR ();
2660
+ uxSavedInterruptStatus = ( UBaseType_t ) taskENTER_CRITICAL_FROM_ISR ();
2661
2661
{
2662
2662
/* If null is passed in here then it is the priority of the calling
2663
2663
* task that is being queried. */
@@ -2728,7 +2728,7 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
2728
2728
* https://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html */
2729
2729
portASSERT_IF_INTERRUPT_PRIORITY_INVALID ();
2730
2730
2731
- uxSavedInterruptStatus = taskENTER_CRITICAL_FROM_ISR ();
2731
+ uxSavedInterruptStatus = ( UBaseType_t ) taskENTER_CRITICAL_FROM_ISR ();
2732
2732
{
2733
2733
/* If null is passed in here then it is the base priority of the calling
2734
2734
* task that is being queried. */
@@ -4657,7 +4657,7 @@ BaseType_t xTaskCatchUpTicks( TickType_t xTicksToCatchUp )
4657
4657
/* This lets the task know it was forcibly removed from the
4658
4658
* blocked state so it should not re-evaluate its block time and
4659
4659
* then block again. */
4660
- pxTCB -> ucDelayAborted = pdTRUE ;
4660
+ pxTCB -> ucDelayAborted = ( uint8_t ) pdTRUE ;
4661
4661
}
4662
4662
else
4663
4663
{
@@ -5598,7 +5598,7 @@ BaseType_t xTaskCheckForTimeOut( TimeOut_t * const pxTimeOut,
5598
5598
{
5599
5599
/* The delay was aborted, which is not the same as a time out,
5600
5600
* but has the same result. */
5601
- pxCurrentTCB -> ucDelayAborted = pdFALSE ;
5601
+ pxCurrentTCB -> ucDelayAborted = ( uint8_t ) pdFALSE ;
5602
5602
xReturn = pdTRUE ;
5603
5603
}
5604
5604
else
@@ -8064,7 +8064,7 @@ TickType_t uxTaskResetEventItemValue( void )
8064
8064
8065
8065
pxTCB = xTaskToNotify ;
8066
8066
8067
- uxSavedInterruptStatus = taskENTER_CRITICAL_FROM_ISR ();
8067
+ uxSavedInterruptStatus = ( UBaseType_t ) taskENTER_CRITICAL_FROM_ISR ();
8068
8068
{
8069
8069
if ( pulPreviousNotificationValue != NULL )
8070
8070
{
@@ -8223,7 +8223,7 @@ TickType_t uxTaskResetEventItemValue( void )
8223
8223
8224
8224
pxTCB = xTaskToNotify ;
8225
8225
8226
- uxSavedInterruptStatus = taskENTER_CRITICAL_FROM_ISR ();
8226
+ uxSavedInterruptStatus = ( UBaseType_t ) taskENTER_CRITICAL_FROM_ISR ();
8227
8227
{
8228
8228
ucOriginalNotifyState = pxTCB -> ucNotifyState [ uxIndexToNotify ];
8229
8229
pxTCB -> ucNotifyState [ uxIndexToNotify ] = taskNOTIFICATION_RECEIVED ;
@@ -8497,7 +8497,7 @@ static void prvAddCurrentTaskToDelayedList( TickType_t xTicksToWait,
8497
8497
/* About to enter a delayed list, so ensure the ucDelayAborted flag is
8498
8498
* reset to pdFALSE so it can be detected as having been set to pdTRUE
8499
8499
* when the task leaves the Blocked state. */
8500
- pxCurrentTCB -> ucDelayAborted = pdFALSE ;
8500
+ pxCurrentTCB -> ucDelayAborted = ( uint8_t ) pdFALSE ;
8501
8501
}
8502
8502
#endif
8503
8503
0 commit comments