]> git.sur5r.net Git - freertos/commitdiff
Remove casts that were generating warnings (even though the casts were added to remov...
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Fri, 15 Feb 2008 13:44:06 +0000 (13:44 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Fri, 15 Feb 2008 13:44:06 +0000 (13:44 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@191 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Source/queue.c
Source/tasks.c

index dd5ec86496db1e35db2cc9df910cc9836c619faa..578181c375801900f1747c12d344f2b977b74d0c 100644 (file)
@@ -807,7 +807,7 @@ signed portCHAR *pcOriginalReadPosition;
                                        if( pxQueue->uxQueueType == queueQUEUE_IS_MUTEX )\r
                                        {\r
                                                portENTER_CRITICAL();\r
-                                                       vTaskPriorityInherit( ( void * const ) pxQueue->pxMutexHolder );\r
+                                                       vTaskPriorityInherit( ( void * ) pxQueue->pxMutexHolder );\r
                                                portEXIT_CRITICAL();\r
                                        }\r
                                }\r
@@ -985,7 +985,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( ( void * const ) pxQueue->pxMutexHolder );\r
+                               vTaskPriorityDisinherit( ( void * ) pxQueue->pxMutexHolder );\r
                 pxQueue->pxMutexHolder = NULL;\r
                        }\r
                }\r
index 7063ab80ca030381d54f96a8d92b304c3d809eb6..5eaebe2abadc038d8a46c9c5bd30bdaa05975660 100644 (file)
@@ -1339,7 +1339,7 @@ unsigned portBASE_TYPE uxNumberOfTasks;
        {\r
                portENTER_CRITICAL();\r
                {\r
-                       pcTraceBuffer = ( volatile signed portCHAR * volatile )pcBuffer;\r
+                       pcTraceBuffer = ( signed portCHAR * )pcBuffer;\r
                        pcTraceBufferStart = pcBuffer;\r
                        pcTraceBufferEnd = pcBuffer + ( ulBufferSize - tskSIZE_OF_EACH_TRACE_LINE );\r
                        xTracing = pdTRUE;\r