diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-07-24 17:39:14 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-07-24 17:39:14 +0000 |
commit | 6b3915257dd3f06a6206aabf89b8e81d12cc95ce (patch) | |
tree | f6909550ea2b83599415a59eb862abcbbfa01daf /cpukit/score | |
parent | 2004-07-24 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-6b3915257dd3f06a6206aabf89b8e81d12cc95ce.tar.bz2 |
2004-07-24 Joel Sherrill <joel@OARcorp.com>
PR 661/rtems
* score/src/objectmp.c: Fix invalid dereference.
Diffstat (limited to 'cpukit/score')
-rw-r--r-- | cpukit/score/src/objectmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/objectmp.c b/cpukit/score/src/objectmp.c index 15a358d51b..b71ef500a1 100644 --- a/cpukit/score/src/objectmp.c +++ b/cpukit/score/src/objectmp.c @@ -165,7 +165,7 @@ Objects_Name_or_id_lookup_errors _Objects_MP_Global_name_search ( Objects_MP_Control *the_object; uint32_t name_to_use; - name_to_use = *(uint32_t *)the_name; /* XXX only fixed length names */ + name_to_use = (uint32_t)the_name; /* XXX only fixed length names */ if ( nodes_to_search > _Objects_Maximum_nodes ) return OBJECTS_INVALID_NODE; |