summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-06-12 15:40:14 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-06-12 15:40:14 +0000
commite99ff4266e52dacf3245b0790a92f75aa555c65d (patch)
tree243bf608becf7659f7b3bf8c6d481f50cd571a9e
parent2003-06-12 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-e99ff4266e52dacf3245b0790a92f75aa555c65d.tar.bz2
2003-06-12 Joel Sherrill <joel@OARcorp.com>
* src/objectmp.c: Removed warnings.
Diffstat (limited to '')
-rw-r--r--cpukit/score/ChangeLog4
-rw-r--r--cpukit/score/src/objectmp.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/cpukit/score/ChangeLog b/cpukit/score/ChangeLog
index 576f0f0bbf..9c9b883132 100644
--- a/cpukit/score/ChangeLog
+++ b/cpukit/score/ChangeLog
@@ -1,3 +1,7 @@
+2003-06-12 Joel Sherrill <joel@OARcorp.com>
+
+ * src/objectmp.c: Removed warnings.
+
2003-03-18 Till Straumann <strauman@slac.stanford.edu>
PR 356/bsps
diff --git a/cpukit/score/src/objectmp.c b/cpukit/score/src/objectmp.c
index f0595b12fd..abcc1dd72f 100644
--- a/cpukit/score/src/objectmp.c
+++ b/cpukit/score/src/objectmp.c
@@ -163,7 +163,9 @@ Objects_Name_to_id_errors _Objects_MP_Global_name_search (
Chain_Control *the_chain;
Chain_Node *the_node;
Objects_MP_Control *the_object;
- unsigned32 name_to_use = the_name; /* XXX only fixed length names */
+ unsigned32 name_to_use;
+
+ name_to_use = *(unsigned32 *)the_name; /* XXX only fixed length names */
if ( nodes_to_search > _Objects_Maximum_nodes )
return OBJECTS_INVALID_NODE;