2003-06-12 Joel Sherrill <joel@OARcorp.com>

* src/objectmp.c: Removed warnings.
This commit is contained in:
Joel Sherrill
2003-06-12 15:40:32 +00:00
parent 9d30ce6449
commit 2ec764f84a
2 changed files with 7 additions and 1 deletions

View File

@@ -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

View File

@@ -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;