From d22cd4a98a573763944ae21597967c6ec74a0086 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 19 Jan 2010 01:56:28 +0000 Subject: [PATCH] 2010-01-18 Joel Sherrill * libmisc/stackchk/check.c: Fix warning. --- cpukit/ChangeLog | 4 ++++ 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,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 */ };