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