summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-06-04 20:34:03 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-06-04 20:34:03 +0000
commit85eb9544cf39fe97081a54d707625b70b70a50cf (patch)
treef611d29a4470b7284a93e10af2e8c28f64c2129d
parent97a95490c8231345d829d366c08e701f6a3a737e (diff)
downloadrtems-85eb9544cf39fe97081a54d707625b70b70a50cf.tar.bz2
2003-06-04 Joel Sherrill <joel@OARcorp.com>
* stackchk/check.c: Removed warnings.
-rw-r--r--cpukit/libmisc/ChangeLog4
-rw-r--r--cpukit/libmisc/stackchk/check.c2
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;