diff options
-rw-r--r-- | cpukit/libmisc/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/libmisc/stackchk/check.c | 2 |
2 files changed, 5 insertions, 1 deletions
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 <joel@OARcorp.com> + + * stackchk/check.c: Removed warnings. + 2003-04-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * 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; |