2004-07-24 Joel Sherrill <joel@OARcorp.com>

PR 661/rtems
	* src/objectmp.c: Fix invalid dereference.
This commit is contained in:
Joel Sherrill
2004-07-24 17:39:24 +00:00
parent 046f0094b5
commit 8c829996c3
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2004-07-24 Joel Sherrill <joel@OARcorp.com>
PR 661/rtems
* src/objectmp.c: Fix invalid dereference.
2004-07-24 Joel Sherrill <joel@OARcorp.com>
PR 660/rtems

View File

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