Remove casts that were generating warnings (even though the casts were added to remove warnings with some compilers).

This commit is contained in:
Richard Barry 2008-02-15 13:44:06 +00:00
parent 61efe2504c
commit 79dd981500
2 changed files with 3 additions and 3 deletions

View file

@ -807,7 +807,7 @@ signed portCHAR *pcOriginalReadPosition;
if( pxQueue->uxQueueType == queueQUEUE_IS_MUTEX )
{
portENTER_CRITICAL();
vTaskPriorityInherit( ( void * const ) pxQueue->pxMutexHolder );
vTaskPriorityInherit( ( void * ) pxQueue->pxMutexHolder );
portEXIT_CRITICAL();
}
}
@ -985,7 +985,7 @@ static void prvCopyDataToQueue( xQUEUE *pxQueue, const void *pvItemToQueue, port
if( pxQueue->uxQueueType == queueQUEUE_IS_MUTEX )
{
/* The mutex is no longer being held. */
vTaskPriorityDisinherit( ( void * const ) pxQueue->pxMutexHolder );
vTaskPriorityDisinherit( ( void * ) pxQueue->pxMutexHolder );
pxQueue->pxMutexHolder = NULL;
}
}

View file

@ -1339,7 +1339,7 @@ unsigned portBASE_TYPE uxNumberOfTasks;
{
portENTER_CRITICAL();
{
pcTraceBuffer = ( volatile signed portCHAR * volatile )pcBuffer;
pcTraceBuffer = ( signed portCHAR * )pcBuffer;
pcTraceBufferStart = pcBuffer;
pcTraceBufferEnd = pcBuffer + ( ulBufferSize - tskSIZE_OF_EACH_TRACE_LINE );
xTracing = pdTRUE;