Fix warnings that the latest GCC version spits out.

This commit is contained in:
Richard Barry 2008-05-23 18:51:39 +00:00
parent ab37826715
commit 91c26c9868
3 changed files with 4 additions and 3 deletions

View file

@ -74,6 +74,7 @@
#define configUSE_TRACE_FACILITY 0 #define configUSE_TRACE_FACILITY 0
#define configUSE_16_BIT_TICKS 1 #define configUSE_16_BIT_TICKS 1
#define configIDLE_SHOULD_YIELD 1 #define configIDLE_SHOULD_YIELD 1
#define configQUEUE_REGISTRY_SIZE 0
/* Co-routine definitions. */ /* Co-routine definitions. */
#define configUSE_CO_ROUTINES 1 #define configUSE_CO_ROUTINES 1

View file

@ -68,8 +68,8 @@ portBASE_TYPE xRegTestError = pdFALSE;
void vStartRegTestTasks( void ) void vStartRegTestTasks( void )
{ {
xTaskCreate( prvRegisterCheck1, "Reg1", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL ); xTaskCreate( prvRegisterCheck1, ( signed portCHAR * ) "Reg1", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );
xTaskCreate( prvRegisterCheck2, "Reg2", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL ); xTaskCreate( prvRegisterCheck2, ( signed portCHAR * ) "Reg2", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );
} }
/*-----------------------------------------------------------*/ /*-----------------------------------------------------------*/

View file

@ -210,7 +210,7 @@ unsigned portCHAR ucByte;
SIGNAL( SIG_UART_RECV ) SIGNAL( SIG_UART_RECV )
{ {
signed portCHAR cChar; signed portCHAR cChar;
portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE; signed portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
/* Get the character and post it on the queue of Rxed characters. /* Get the character and post it on the queue of Rxed characters.
If the post causes a task to wake force a context switch as the woken task If the post causes a task to wake force a context switch as the woken task