From 7eb7201b466214171c57bb14d76ef7b3bc339d9c Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Sat, 12 Apr 2008 23:26:44 +0000 Subject: [PATCH] Casting only. --- Source/queue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/queue.c b/Source/queue.c index 28961d2dd..ab18345cb 100644 --- a/Source/queue.c +++ b/Source/queue.c @@ -978,7 +978,7 @@ signed portCHAR *pcOriginalReadPosition; if( xReturn == errQUEUE_EMPTY ) { - if( xTicksToWait > 0 ) + if( xTicksToWait > ( portTickType ) 0 ) { if( xTaskCheckForTimeOut( &xTimeOut, &xTicksToWait ) == pdFALSE ) { @@ -1079,7 +1079,7 @@ void vQueueDelete( xQueueHandle pxQueue ) static void prvCopyDataToQueue( xQUEUE *pxQueue, const void *pvItemToQueue, portBASE_TYPE xPosition ) { - if( pxQueue->uxItemSize == 0 ) + if( pxQueue->uxItemSize == ( unsigned portBASE_TYPE ) 0 ) { #if ( configUSE_MUTEXES == 1 ) {