From 36471ef3e89bf2552765bbb3b15cb1c616073565 Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Mon, 22 Sep 2008 13:44:31 +0000 Subject: [PATCH] Change init value for a variable that was generating compiler warnings on one of the more pedantic compilers. --- Demo/Common/Minimal/death.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Demo/Common/Minimal/death.c b/Demo/Common/Minimal/death.c index b4e1db32b..ee5617701 100644 --- a/Demo/Common/Minimal/death.c +++ b/Demo/Common/Minimal/death.c @@ -210,7 +210,7 @@ unsigned portBASE_TYPE uxPriority; are not any more than four extra tasks. */ portBASE_TYPE xIsCreateTaskStillRunning( void ) { -static portSHORT usLastCreationCount = -1; +static unsigned portSHORT usLastCreationCount = 0xfff; portBASE_TYPE xReturn = pdTRUE; static unsigned portBASE_TYPE uxTasksRunningNow;