From 1ac24ff0bc232b15874bd28caf7d87fb90b9d987 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Sun, 10 Feb 2008 20:28:55 +0000 Subject: [PATCH] Remove qualifier from cast. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@158 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Demo/Common/Minimal/comtest.c | 4 ++-- Demo/Common/Minimal/flash.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Demo/Common/Minimal/comtest.c b/Demo/Common/Minimal/comtest.c index 24074f5db..d7bc1cf8f 100644 --- a/Demo/Common/Minimal/comtest.c +++ b/Demo/Common/Minimal/comtest.c @@ -152,8 +152,8 @@ void vAltStartComTestTasks( unsigned portBASE_TYPE uxPriority, unsigned portLONG xSerialPortInitMinimal( ulBaudRate, comBUFFER_LEN ); /* The Tx task is spawned with a lower priority than the Rx task. */ - xTaskCreate( vComTxTask, ( const signed portCHAR * const ) "COMTx", comSTACK_SIZE, NULL, uxPriority - 1, ( xTaskHandle * ) NULL ); - xTaskCreate( vComRxTask, ( const signed portCHAR * const ) "COMRx", comSTACK_SIZE, NULL, uxPriority, ( xTaskHandle * ) NULL ); + xTaskCreate( vComTxTask, ( signed portCHAR * ) "COMTx", comSTACK_SIZE, NULL, uxPriority - 1, ( xTaskHandle * ) NULL ); + xTaskCreate( vComRxTask, ( signed portCHAR * ) "COMRx", comSTACK_SIZE, NULL, uxPriority, ( xTaskHandle * ) NULL ); } /*-----------------------------------------------------------*/ diff --git a/Demo/Common/Minimal/flash.c b/Demo/Common/Minimal/flash.c index 22365959e..d9d2969a9 100644 --- a/Demo/Common/Minimal/flash.c +++ b/Demo/Common/Minimal/flash.c @@ -99,7 +99,7 @@ signed portBASE_TYPE xLEDTask; for( xLEDTask = 0; xLEDTask < ledNUMBER_OF_LEDS; ++xLEDTask ) { /* Spawn the task. */ - xTaskCreate( vLEDFlashTask, ( const signed portCHAR * const ) "LEDx", ledSTACK_SIZE, NULL, uxPriority, ( xTaskHandle * ) NULL ); + xTaskCreate( vLEDFlashTask, ( signed portCHAR * ) "LEDx", ledSTACK_SIZE, NULL, uxPriority, ( xTaskHandle * ) NULL ); } } /*-----------------------------------------------------------*/ -- 2.39.5