From 9290e3e71f0808cf55f9ec4019d67bf53529d068 Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Tue, 6 Sep 2011 16:10:30 +0000 Subject: [PATCH] Add use of portPOINTER_SIZE_TYPE to tasks.c to facilitate the removal of warnings when the pointer size is less than 32 bits. --- Source/include/FreeRTOS.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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