Add use of portPOINTER_SIZE_TYPE to tasks.c to facilitate the removal of warnings when the pointer size is less than 32 bits.

This commit is contained in:
Richard Barry 2011-09-06 16:10:30 +00:00
parent 272cd59c26
commit 9290e3e71f

View File

@ -3,8 +3,8 @@
FreeRTOS supports many tools and architectures. V7.0.0 is sponsored by:
Atollic AB - Atollic provides professional embedded systems development
tools for C/C++ development, code analysis and test automation.
Atollic AB - Atollic provides professional embedded systems development
tools for C/C++ development, code analysis and test automation.
See http://www.atollic.com
@ -242,6 +242,9 @@ typedef portBASE_TYPE (*pdTASK_HOOK_CODE)( void * );
#define vQueueUnregisterQueue( xQueue )
#endif
#ifndef portPOINTER_SIZE_TYPE
#define portPOINTER_SIZE_TYPE unsigned long
#endif
/* Remove any unused trace macros. */
#ifndef traceSTART