diff options
author | RichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2007-08-22 16:56:05 +0000 |
---|---|---|
committer | RichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2007-08-22 16:56:05 +0000 |
commit | aad611b8098265c645937c65d91f906f9720c129 (patch) | |
tree | 9fd1efeae0bf277b77db2517396486b5bb404e2a /Source/queue.c | |
parent | 4cbaa3a5c43084be315d48c7eb92f6f7efb9e63d (diff) | |
download | freertos-aad611b8098265c645937c65d91f906f9720c129.tar.gz freertos-aad611b8098265c645937c65d91f906f9720c129.tar.bz2 freertos-aad611b8098265c645937c65d91f906f9720c129.tar.xz |
Changed a couple of casts to remove compiler warnings.
git-svn-id: https://freertos.svn.sourceforge.net/svnroot/freertos/trunk@104 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
Diffstat (limited to 'Source/queue.c')
-rw-r--r-- | Source/queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/queue.c b/Source/queue.c index 0431715d..5bf3b405 100644 --- a/Source/queue.c +++ b/Source/queue.c @@ -546,7 +546,7 @@ signed portCHAR *pcOriginalReadPosition; if( pxQueue->uxQueueType == queueQUEUE_IS_MUTEX )
{
portENTER_CRITICAL();
- vTaskPriorityInherit( ( xTaskHandle * const ) pxQueue->pxMutexHolder );
+ vTaskPriorityInherit( ( void * const ) pxQueue->pxMutexHolder );
portEXIT_CRITICAL();
}
}
@@ -719,7 +719,7 @@ static void prvCopyDataToQueue( xQUEUE *pxQueue, const void *pvItemToQueue, port if( pxQueue->uxQueueType == queueQUEUE_IS_MUTEX )
{
/* The mutex is no longer being held. */
- vTaskPriorityDisinherit( ( xTaskHandle * const ) pxQueue->pxMutexHolder );
+ vTaskPriorityDisinherit( ( void * const ) pxQueue->pxMutexHolder );
}
}
#endif
|