]> git.sur5r.net Git - freertos/commitdiff
Changed a couple of casts to remove compiler warnings.
authorRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Wed, 22 Aug 2007 16:56:05 +0000 (16:56 +0000)
committerRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Wed, 22 Aug 2007 16:56:05 +0000 (16:56 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@104 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Source/queue.c

index 0431715dfdcb736b8149bced80d44bc99ee4f400..5bf3b4055fc85d82ddd4903f86c4f8730648fef0 100644 (file)
@@ -546,7 +546,7 @@ signed portCHAR *pcOriginalReadPosition;
                                        if( pxQueue->uxQueueType == queueQUEUE_IS_MUTEX )\r
                                        {\r
                                                portENTER_CRITICAL();\r
-                                                       vTaskPriorityInherit( ( xTaskHandle * const ) pxQueue->pxMutexHolder );\r
+                                                       vTaskPriorityInherit( ( void * const ) pxQueue->pxMutexHolder );\r
                                                portEXIT_CRITICAL();\r
                                        }\r
                                }\r
@@ -719,7 +719,7 @@ static void prvCopyDataToQueue( xQUEUE *pxQueue, const void *pvItemToQueue, port
                        if( pxQueue->uxQueueType == queueQUEUE_IS_MUTEX )\r
                        {\r
                                /* The mutex is no longer being held. */\r
-                               vTaskPriorityDisinherit( ( xTaskHandle * const ) pxQueue->pxMutexHolder );\r
+                               vTaskPriorityDisinherit( ( void * const ) pxQueue->pxMutexHolder );\r
                        }\r
                }\r
                #endif\r