]> git.sur5r.net Git - freertos/commitdiff
Remove some casting to keep the Keil/RVDS compiler quiet.
authorRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 24 Sep 2006 10:03:55 +0000 (10:03 +0000)
committerRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 24 Sep 2006 10:03:55 +0000 (10:03 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@36 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/Common/Minimal/PollQ.c
Demo/Common/Minimal/integer.c

index e250992cf4a2b9d14c61158a6cfd222985e71208..ee89294a40e4f9a7ad0e5237d33d9d3623b969a8 100644 (file)
@@ -98,8 +98,8 @@ static xQueueHandle xPolledQueue;
        xPolledQueue = xQueueCreate( pollqQUEUE_SIZE, ( unsigned portBASE_TYPE ) sizeof( unsigned portSHORT ) );\r
 \r
        /* Spawn the producer and consumer. */\r
-       xTaskCreate( vPolledQueueConsumer, ( const signed portCHAR * const ) "QConsNB", pollqSTACK_SIZE, ( void * ) &xPolledQueue, uxPriority, ( xTaskHandle * ) NULL );\r
-       xTaskCreate( vPolledQueueProducer, ( const signed portCHAR * const ) "QProdNB", pollqSTACK_SIZE, ( void * ) &xPolledQueue, uxPriority, ( xTaskHandle * ) NULL );\r
+       xTaskCreate( vPolledQueueConsumer, ( signed portCHAR * ) "QConsNB", pollqSTACK_SIZE, ( void * ) &xPolledQueue, uxPriority, ( xTaskHandle * ) NULL );\r
+       xTaskCreate( vPolledQueueProducer, ( signed portCHAR * ) "QProdNB", pollqSTACK_SIZE, ( void * ) &xPolledQueue, uxPriority, ( xTaskHandle * ) NULL );\r
 }\r
 /*-----------------------------------------------------------*/\r
 \r
index c666afe43b9e8d5af48e6fe353ea32109bad74a5..a3bf6f66325967a83d0aa00744599e876ec89f5f 100644 (file)
@@ -100,7 +100,7 @@ portSHORT sTask;
 \r
        for( sTask = 0; sTask < intgNUMBER_OF_TASKS; sTask++ )\r
        {\r
-               xTaskCreate( vCompeteingIntMathTask, ( const signed portCHAR * const ) "IntMath", intgSTACK_SIZE, ( void * ) &( xTaskCheck[ sTask ] ), uxPriority, ( xTaskHandle * ) NULL );\r
+               xTaskCreate( vCompeteingIntMathTask, ( signed portCHAR * ) "IntMath", intgSTACK_SIZE, ( void * ) &( xTaskCheck[ sTask ] ), uxPriority, ( xTaskHandle * ) NULL );\r
        }\r
 }\r
 /*-----------------------------------------------------------*/\r