diff --git a/cpukit/score/ChangeLog b/cpukit/score/ChangeLog index 735ae4e420..6182760b21 100644 --- a/cpukit/score/ChangeLog +++ b/cpukit/score/ChangeLog @@ -1,3 +1,8 @@ +2004-07-24 Joel Sherrill + + PR 661/rtems + * src/objectmp.c: Fix invalid dereference. + 2004-07-24 Joel Sherrill PR 660/rtems diff --git a/cpukit/score/src/objectmp.c b/cpukit/score/src/objectmp.c index 1984c8de3f..3fce537a1b 100644 --- a/cpukit/score/src/objectmp.c +++ b/cpukit/score/src/objectmp.c @@ -165,7 +165,7 @@ Objects_Name_to_id_errors _Objects_MP_Global_name_search ( Objects_MP_Control *the_object; unsigned32 name_to_use; - name_to_use = *(unsigned32 *)the_name; /* XXX only fixed length names */ + name_to_use = (unsigned32)the_name; /* XXX only fixed length names */ if ( nodes_to_search > _Objects_Maximum_nodes ) return OBJECTS_INVALID_NODE;