From 85eb9544cf39fe97081a54d707625b70b70a50cf Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 4 Jun 2003 20:34:03 +0000 Subject: 2003-06-04 Joel Sherrill * stackchk/check.c: Removed warnings. --- cpukit/libmisc/ChangeLog | 4 ++++ cpukit/libmisc/stackchk/check.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cpukit/libmisc/ChangeLog b/cpukit/libmisc/ChangeLog index ed515b654b..3ea873642e 100644 --- a/cpukit/libmisc/ChangeLog +++ b/cpukit/libmisc/ChangeLog @@ -1,3 +1,7 @@ +2003-06-04 Joel Sherrill + + * stackchk/check.c: Removed warnings. + 2003-04-17 Ralf Corsepius * dummy/Makefile.am: Remove stray dummy.rel. diff --git a/cpukit/libmisc/stackchk/check.c b/cpukit/libmisc/stackchk/check.c index 896375e85c..518e018083 100644 --- a/cpukit/libmisc/stackchk/check.c +++ b/cpukit/libmisc/stackchk/check.c @@ -460,7 +460,7 @@ void Stack_check_Dump_threads_usage( if ( info->is_string ) { name = (char *) the_thread->Object.name; } else { - u32_name = (unsigned32 *)the_thread->Object.name; + u32_name = *(unsigned32 *)the_thread->Object.name; name[ 0 ] = (u32_name >> 24) & 0xff; name[ 1 ] = (u32_name >> 16) & 0xff; name[ 2 ] = (u32_name >> 8) & 0xff; -- cgit v1.2.3