From: richardbarry Date: Mon, 22 Sep 2008 13:44:31 +0000 (+0000) Subject: Change init value for a variable that was generating compiler warnings on one of... X-Git-Tag: V5.1.2~217 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b477722e8bb69bb496d5235a592c2d971dc1c636;p=freertos 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 --- 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;