]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/tasks.c
Fix misra violations in queue.c by introducing a union that allows the correct data...
[freertos] / FreeRTOS / Source / tasks.c
index 579874a14a7d90dcde4c3c4820ed6439c73f2ea8..f882a5112b2284a4349ec412557cee4964e5c7ad 100644 (file)
@@ -4426,7 +4426,7 @@ TickType_t uxReturn;
 \r
 #if ( configUSE_MUTEXES == 1 )\r
 \r
-       void *pvTaskIncrementMutexHeldCount( void )\r
+       TaskHandle_t pvTaskIncrementMutexHeldCount( void )\r
        {\r
                /* If xSemaphoreCreateMutex() is called before any tasks have been created\r
                then pxCurrentTCB will be NULL. */\r