From: RichardBarry Date: Tue, 6 Sep 2011 16:10:30 +0000 (+0000) Subject: Add use of portPOINTER_SIZE_TYPE to tasks.c to facilitate the removal of warnings... X-Git-Tag: V7.0.2~25 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=93dec1f8445e8d410f95e822f32063001f8933cc;p=freertos Add use of portPOINTER_SIZE_TYPE to tasks.c to facilitate the removal of warnings when the pointer size is less than 32 bits. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1585 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Source/include/FreeRTOS.h b/Source/include/FreeRTOS.h index 88a711c59..8578d3089 100644 --- a/Source/include/FreeRTOS.h +++ b/Source/include/FreeRTOS.h @@ -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