}\r
\r
/* Log that this value has been received. */\r
- ucNormallyFullReceivedValues[ uxValue ] = uxSource;\r
+ ucNormallyFullReceivedValues[ uxValue ] = ( unsigned char ) uxSource;\r
}\r
}\r
/*-----------------------------------------------------------*/\r
}\r
\r
/* Log that this value has been received. */\r
- ucNormallyEmptyReceivedValues[ uxValue ] = uxSource;\r
+ ucNormallyEmptyReceivedValues[ uxValue ] = ( unsigned char ) uxSource;\r
}\r
}\r
/*-----------------------------------------------------------*/\r
\r
portBASE_TYPE xFirstTimerHandler( void )\r
{\r
-portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE, uxRxedValue;\r
+portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;\r
+unsigned portBASE_TYPE uxRxedValue;\r
static unsigned portBASE_TYPE uxNextOperation = 0;\r
\r
/* Called from a timer interrupt. Perform various read and write\r
xExpectedNumber = xBlockPeriod / xTimerPeriod;\r
\r
ucMaxAllowableValue = ( ( unsigned char ) xExpectedNumber ) ;\r
- ucMinAllowableValue = ( ( unsigned char ) xExpectedNumber - ( unsigned char ) 1 );\r
+ ucMinAllowableValue = ( unsigned char ) ( ( unsigned char ) xExpectedNumber - ( unsigned char ) 1 ); /* Weird casting to try and please all compilers. */\r
\r
if( ( ucAutoReloadTimerCounters[ ucTimer ] < ucMinAllowableValue ) ||\r
( ucAutoReloadTimerCounters[ ucTimer ] > ucMaxAllowableValue )\r