summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/stackchk/check.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-12-11 14:18:16 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-12-11 14:18:16 +0000
commit028e84cf1655487670fca0a2717a435e39c6490a (patch)
tree21b657e453973c82e5d9f15ac4f4063b16d9e670 /cpukit/libmisc/stackchk/check.c
parent2003-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-028e84cf1655487670fca0a2717a435e39c6490a.tar.bz2
2003-12-11 Joel Sherrill <joel@OARcorp.com>
PR 531/rtems_misc * rtmonuse/rtmonuse.c, stackchk/check.c: Correct indexing.
Diffstat (limited to '')
-rw-r--r--cpukit/libmisc/stackchk/check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libmisc/stackchk/check.c b/cpukit/libmisc/stackchk/check.c
index 165b1925a3..88cf1990bd 100644
--- a/cpukit/libmisc/stackchk/check.c
+++ b/cpukit/libmisc/stackchk/check.c
@@ -464,7 +464,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;