summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/objectidtoname.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2004-03-05 18:04:00 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2004-03-05 18:04:00 +0000
commit24a7692d491dc6d702f015f9bbc62e20ff6ff3df (patch)
tree9bee8ef8fe55cc5a35293bac16588d614cbf26c4 /cpukit/score/src/objectidtoname.c
parent2004-03-05 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-24a7692d491dc6d702f015f9bbc62e20ff6ff3df.tar.bz2
2004-03-05 Joel Sherrill <joel@OARcorp.com>
* score/macros/rtems/score/chain.inl, score/src/objectidtoname.c: Add cast to avoid type punning warning in gcc 3.3.
Diffstat (limited to 'cpukit/score/src/objectidtoname.c')
-rw-r--r--cpukit/score/src/objectidtoname.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/score/src/objectidtoname.c b/cpukit/score/src/objectidtoname.c
index 90f3e84292..1677dac4b2 100644
--- a/cpukit/score/src/objectidtoname.c
+++ b/cpukit/score/src/objectidtoname.c
@@ -40,6 +40,7 @@ Objects_Name_or_id_lookup_errors _Objects_Id_to_name (
unsigned32 the_class;
Objects_Information *information;
Objects_Control *the_object = (Objects_Control *) 0;
+ Objects_Locations ignored_location;
if ( !name )
return OBJECTS_INVALID_NAME;
@@ -57,7 +58,7 @@ Objects_Name_or_id_lookup_errors _Objects_Id_to_name (
if ( information->is_string )
return OBJECTS_INVALID_ID;
- the_object = _Objects_Get( information, id, OBJECTS_SEARCH_LOCAL_NODE );
+ the_object = _Objects_Get( information, id, &ignored_location );
if (!the_object)
return OBJECTS_INVALID_ID;