diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index e10ad143a7..0bbb27296a 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,7 @@ +2010-01-18 Joel Sherrill + + * libmisc/stackchk/check.c: Fix warning. + 2010-01-18 Joel Sherrill Coverity Id 12 diff --git a/cpukit/libmisc/stackchk/check.c b/cpukit/libmisc/stackchk/check.c index 02bb631f40..a66d468863 100644 --- a/cpukit/libmisc/stackchk/check.c +++ b/cpukit/libmisc/stackchk/check.c @@ -6,7 +6,7 @@ * CPU grows up or down and installs the correct * extension routines for that direction. * - * COPYRIGHT (c) 1989-2009. + * COPYRIGHT (c) 1989-2010. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -137,7 +137,7 @@ void Stack_check_Initialize( void ) { int i; uint32_t *p; - static pattern[ 4 ] = { + static uint32_t pattern[ 4 ] = { 0xFEEDF00D, 0x0BAD0D06, /* FEED FOOD to BAD DOG */ 0xDEADF00D, 0x600D0D06 /* DEAD FOOD but GOOD DOG */ };