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;
}
}