]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/WIN32-MingW/main_full.c
Start to remove unnecessary 'signed char *' casts from strings that are now just...
[freertos] / FreeRTOS / Demo / WIN32-MingW / main_full.c
index 75098dc0b3ab2f38109b6eb446338254aa553a8e..22c81055fabbe7b09d4645be111e4630004a87a4 100644 (file)
@@ -181,7 +181,7 @@ static xSemaphoreHandle xMutexToDelete = NULL;
 int main_full( void )\r
 {\r
        /* Start the check task as described at the top of this file. */\r
-       xTaskCreate( prvCheckTask, ( signed char * ) "Check", configMINIMAL_STACK_SIZE, NULL, mainCHECK_TASK_PRIORITY, NULL );\r
+       xTaskCreate( prvCheckTask, "Check", configMINIMAL_STACK_SIZE, NULL, mainCHECK_TASK_PRIORITY, NULL );\r
 \r
        /* Create the standard demo tasks. */\r
        vStartBlockingQueueTasks( mainBLOCK_Q_PRIORITY );\r
@@ -196,7 +196,7 @@ int main_full( void )
        vStartDynamicPriorityTasks();\r
        vStartQueueSetTasks();\r
        vStartQueueOverwriteTask( mainQUEUE_OVERWRITE_PRIORITY );\r
-       xTaskCreate( prvDemoQueueSpaceFunctions, ( signed char * ) "QSpace", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );\r
+       xTaskCreate( prvDemoQueueSpaceFunctions, "QSpace", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );\r
        vStartEventGroupTasks();\r
 \r
        #if( configUSE_PREEMPTION != 0  )\r
@@ -410,7 +410,7 @@ static void prvDemonstrateTaskStateAndHandleGetFunctions( void )
 {\r
 xTaskHandle xIdleTaskHandle, xTimerTaskHandle;\r
 const unsigned char ucConstTaskNumber = 0x55U;\r
-signed char *pcTaskName;\r
+char *pcTaskName;\r
 static portBASE_TYPE xPerformedOneShotTests = pdFALSE;\r
 xTaskHandle xTestTask;\r
 \r
@@ -457,7 +457,7 @@ xTaskHandle xTestTask;
                xPerformedOneShotTests = pdTRUE;\r
 \r
                /* Create a test task to use to test other eTaskStateGet() return values. */\r
-               if( xTaskCreate( prvTestTask, ( const signed char * const ) "Test", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, &xTestTask ) == pdPASS )\r
+               if( xTaskCreate( prvTestTask, "Test", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, &xTestTask ) == pdPASS )\r
                {\r
                        /* If this task is running, the test task must be in the ready state. */\r
                        if( eTaskStateGet( xTestTask ) != eReady )\r