From d9a97752eef168644935b830802ad78decbb4f59 Mon Sep 17 00:00:00 2001 From: RichardBarry Date: Sun, 24 Sep 2006 10:03:55 +0000 Subject: [PATCH] Remove some casting to keep the Keil/RVDS compiler quiet. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@36 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Demo/Common/Minimal/PollQ.c | 4 ++-- Demo/Common/Minimal/integer.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Demo/Common/Minimal/PollQ.c b/Demo/Common/Minimal/PollQ.c index e250992cf..ee89294a4 100644 --- a/Demo/Common/Minimal/PollQ.c +++ b/Demo/Common/Minimal/PollQ.c @@ -98,8 +98,8 @@ static xQueueHandle xPolledQueue; xPolledQueue = xQueueCreate( pollqQUEUE_SIZE, ( unsigned portBASE_TYPE ) sizeof( unsigned portSHORT ) ); /* Spawn the producer and consumer. */ - xTaskCreate( vPolledQueueConsumer, ( const signed portCHAR * const ) "QConsNB", pollqSTACK_SIZE, ( void * ) &xPolledQueue, uxPriority, ( xTaskHandle * ) NULL ); - xTaskCreate( vPolledQueueProducer, ( const signed portCHAR * const ) "QProdNB", pollqSTACK_SIZE, ( void * ) &xPolledQueue, uxPriority, ( xTaskHandle * ) NULL ); + xTaskCreate( vPolledQueueConsumer, ( signed portCHAR * ) "QConsNB", pollqSTACK_SIZE, ( void * ) &xPolledQueue, uxPriority, ( xTaskHandle * ) NULL ); + xTaskCreate( vPolledQueueProducer, ( signed portCHAR * ) "QProdNB", pollqSTACK_SIZE, ( void * ) &xPolledQueue, uxPriority, ( xTaskHandle * ) NULL ); } /*-----------------------------------------------------------*/ diff --git a/Demo/Common/Minimal/integer.c b/Demo/Common/Minimal/integer.c index c666afe43..a3bf6f663 100644 --- a/Demo/Common/Minimal/integer.c +++ b/Demo/Common/Minimal/integer.c @@ -100,7 +100,7 @@ portSHORT sTask; for( sTask = 0; sTask < intgNUMBER_OF_TASKS; sTask++ ) { - xTaskCreate( vCompeteingIntMathTask, ( const signed portCHAR * const ) "IntMath", intgSTACK_SIZE, ( void * ) &( xTaskCheck[ sTask ] ), uxPriority, ( xTaskHandle * ) NULL ); + xTaskCreate( vCompeteingIntMathTask, ( signed portCHAR * ) "IntMath", intgSTACK_SIZE, ( void * ) &( xTaskCheck[ sTask ] ), uxPriority, ( xTaskHandle * ) NULL ); } } /*-----------------------------------------------------------*/ -- 2.39.2