diff options
-rw-r--r-- | cpukit/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/libmisc/stackchk/check.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index e10ad143a7..0bbb27296a 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,9 @@ 2010-01-18 Joel Sherrill <joel.sherrill@oarcorp.com> + * libmisc/stackchk/check.c: Fix warning. + +2010-01-18 Joel Sherrill <joel.sherrill@oarcorp.com> + Coverity Id 12 * libfs/src/imfs/memfile.c: Check for NULL return value. 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 */ }; |