diff options
author | rtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2013-12-27 14:43:48 +0000 |
---|---|---|
committer | rtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2013-12-27 14:43:48 +0000 |
commit | 2495829d0db7359332a66216e020282ee802c806 (patch) | |
tree | b2f741012a673c062e870239df3a250291325e31 /FreeRTOS/Demo/lwIP_MCF5235_GCC | |
parent | 0f14bb40b9a1dad50708f43d35283e7093e9fa04 (diff) | |
download | freertos-2495829d0db7359332a66216e020282ee802c806.tar.gz |
Start to remove unnecessary 'signed char *' casts from strings that are now just plain char * types.
git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@2143 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
Diffstat (limited to 'FreeRTOS/Demo/lwIP_MCF5235_GCC')
-rw-r--r-- | FreeRTOS/Demo/lwIP_MCF5235_GCC/demo.c | 10 | ||||
-rw-r--r-- | FreeRTOS/Demo/lwIP_MCF5235_GCC/web.c | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/FreeRTOS/Demo/lwIP_MCF5235_GCC/demo.c b/FreeRTOS/Demo/lwIP_MCF5235_GCC/demo.c index f8371c309..dcb6d06d9 100644 --- a/FreeRTOS/Demo/lwIP_MCF5235_GCC/demo.c +++ b/FreeRTOS/Demo/lwIP_MCF5235_GCC/demo.c @@ -41,13 +41,13 @@ Please ensure to read the configuration and relevant port sections of the
online documentation.
- http://www.FreeRTOS.org - Documentation, latest information, license and
+ http://www.FreeRTOS.org - Documentation, latest information, license and
contact details.
- http://www.SafeRTOS.com - A version that is certified for use in safety
+ http://www.SafeRTOS.com - A version that is certified for use in safety
critical systems.
- http://www.OpenRTOS.com - Commercial support, development, porting,
+ http://www.OpenRTOS.com - Commercial support, development, porting,
licensing and training services.
*/
@@ -134,7 +134,7 @@ main( int argc, char *argv[] ) ( void )sys_thread_new( vBasicWEBServer, NULL, mainWEB_TASK_PRIORITY );
/* Start the check task - which is defined in this file. */
- xTaskCreate( vErrorChecks, ( signed char * )"Check", 512, NULL,
+ xTaskCreate( vErrorChecks, "Check", 512, NULL,
mainCHECK_TASK_PRIORITY, NULL );
/* Now all the tasks have been started - start the scheduler. */
vTaskStartScheduler( );
@@ -156,7 +156,7 @@ portTASK_FUNCTION( vErrorChecks, pvParameters ) {
ulMemCheckTaskRunningCount = mainCOUNT_INITIAL_VALUE;
xCreatedTask = mainNO_TASK;
- if( xTaskCreate( vMemCheckTask, ( signed char * )"MEM",
+ if( xTaskCreate( vMemCheckTask, "MEM",
configMINIMAL_STACK_SIZE, ( void * )&ulMemCheckTaskRunningCount,
tskIDLE_PRIORITY, &xCreatedTask ) != pdPASS )
{
diff --git a/FreeRTOS/Demo/lwIP_MCF5235_GCC/web.c b/FreeRTOS/Demo/lwIP_MCF5235_GCC/web.c index 87e88d03d..209d011f9 100644 --- a/FreeRTOS/Demo/lwIP_MCF5235_GCC/web.c +++ b/FreeRTOS/Demo/lwIP_MCF5235_GCC/web.c @@ -40,13 +40,13 @@ Please ensure to read the configuration and relevant port sections of the
online documentation.
- http://www.FreeRTOS.org - Documentation, latest information, license and
+ http://www.FreeRTOS.org - Documentation, latest information, license and
contact details.
- http://www.SafeRTOS.com - A version that is certified for use in safety
+ http://www.SafeRTOS.com - A version that is certified for use in safety
critical systems.
- http://www.OpenRTOS.com - Commercial support, development, porting,
+ http://www.OpenRTOS.com - Commercial support, development, porting,
licensing and training services.
*/
@@ -161,7 +161,7 @@ vProcessConnection( struct netconn *pxNetCon ) strcat( cDynamicPage,
"<p><pre>Task State Priority Stack #<br>************************************************<br>" );
/* ... Then the list of tasks and their status... */
- vTaskList( ( signed char * )cDynamicPage + strlen( cDynamicPage ) );
+ vTaskList( cDynamicPage + strlen( cDynamicPage ) );
/* ... Finally the page footer. */
strcat( cDynamicPage, webHTML_END );
|