Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Ticket #661: pr661.diff

File pr661.diff, 636 bytes (added by Joel Sherrill, on 12/03/06 at 13:31:13)

pr661.diff

  • src/objectmp.c

    RCS file: /usr1/CVS/rtems/cpukit/score/src/objectmp.c,v
    retrieving revision 1.14.2.2
    diff -u -r1.14.2.2 objectmp.c
     
    165165  Objects_MP_Control *the_object;
    166166  unsigned32          name_to_use;
    167167
    168   name_to_use = *(unsigned32 *)the_name;  /* XXX only fixed length names */
     168  name_to_use = (unsigned32)the_name;  /* XXX only fixed length names */
    169169
    170170  if ( nodes_to_search > _Objects_Maximum_nodes )
    171171    return OBJECTS_INVALID_NODE;