summaryrefslogtreecommitdiff
path: root/FreeRTOS/Demo/Common/Minimal/recmutex.c
diff options
context:
space:
mode:
Diffstat (limited to 'FreeRTOS/Demo/Common/Minimal/recmutex.c')
-rw-r--r--FreeRTOS/Demo/Common/Minimal/recmutex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/FreeRTOS/Demo/Common/Minimal/recmutex.c b/FreeRTOS/Demo/Common/Minimal/recmutex.c
index 81fd49308..0f33afc82 100644
--- a/FreeRTOS/Demo/Common/Minimal/recmutex.c
+++ b/FreeRTOS/Demo/Common/Minimal/recmutex.c
@@ -257,7 +257,7 @@ static void prvRecursiveMutexBlockingTask( void *pvParameters )
}
/* The controlling and blocking tasks should be in lock step. */
- if( uxControllingCycles != ( uxBlockingCycles + 1 ) )
+ if( uxControllingCycles != (UBaseType_t) ( uxBlockingCycles + 1 ) )
{
xErrorOccurred = pdTRUE;
}