Remove qualifier from cast.

This commit is contained in:
Richard Barry 2008-02-10 20:28:55 +00:00
parent 3b1b99c0d7
commit 778b0d13ef
2 changed files with 3 additions and 3 deletions

View file

@ -152,8 +152,8 @@ void vAltStartComTestTasks( unsigned portBASE_TYPE uxPriority, unsigned portLONG
xSerialPortInitMinimal( ulBaudRate, comBUFFER_LEN ); xSerialPortInitMinimal( ulBaudRate, comBUFFER_LEN );
/* The Tx task is spawned with a lower priority than the Rx task. */ /* 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( vComTxTask, ( signed portCHAR * ) "COMTx", comSTACK_SIZE, NULL, uxPriority - 1, ( xTaskHandle * ) NULL );
xTaskCreate( vComRxTask, ( const signed portCHAR * const ) "COMRx", comSTACK_SIZE, NULL, uxPriority, ( xTaskHandle * ) NULL ); xTaskCreate( vComRxTask, ( signed portCHAR * ) "COMRx", comSTACK_SIZE, NULL, uxPriority, ( xTaskHandle * ) NULL );
} }
/*-----------------------------------------------------------*/ /*-----------------------------------------------------------*/

View file

@ -99,7 +99,7 @@ signed portBASE_TYPE xLEDTask;
for( xLEDTask = 0; xLEDTask < ledNUMBER_OF_LEDS; ++xLEDTask ) for( xLEDTask = 0; xLEDTask < ledNUMBER_OF_LEDS; ++xLEDTask )
{ {
/* Spawn the task. */ /* 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 );
} }
} }
/*-----------------------------------------------------------*/ /*-----------------------------------------------------------*/