portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack, pdTASK_CODE pxCode, void *pvParameters )\r
{\r
unsigned short *pusTopOfStack;\r
-unsigned long *pulTopOfStack;\r
+unsigned long *pulTopOfStack, ulTemp;\r
\r
/*\r
Place a few bytes of known values on the bottom of the stack.\r
if( sizeof( pxCode ) == sizeof( unsigned short ) )\r
{\r
pusTopOfStack = ( unsigned short * ) pxTopOfStack;\r
- *pusTopOfStack = ( unsigned short ) pxCode;\r
+ ulTemp = ( unsigned long ) pxCode;\r
+ *pusTopOfStack = ( unsigned short ) ulTemp;\r
}\r
else\r
{\r