summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/objectmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/objectmp.c')
-rw-r--r--cpukit/score/src/objectmp.c2
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;