From 93dec1f8445e8d410f95e822f32063001f8933cc Mon Sep 17 00:00:00 2001 From: RichardBarry 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. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1585 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- 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 -- 2.39.5