diff options
author | Santosh G Vattam <vattam.santosh@gmail.com> | 2014-11-22 18:25:12 -0600 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-11-23 08:38:31 -0600 |
commit | 89be4e77120c4a8ae7faa2e37b519a6f63460e37 (patch) | |
tree | 3ef1d4e9c0438b7dd7a8b027c6b77fb289d1560b | |
parent | powerpc/haleakala: Fix warnings (diff) | |
download | rtems-89be4e77120c4a8ae7faa2e37b519a6f63460e37.tar.bz2 |
rtems/score/object.h: Correct types on _Objects_Build_id
close 1423
-rw-r--r-- | cpukit/score/include/rtems/score/object.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/include/rtems/score/object.h b/cpukit/score/include/rtems/score/object.h index 03afc9b1b9..70e5fe630c 100644 --- a/cpukit/score/include/rtems/score/object.h +++ b/cpukit/score/include/rtems/score/object.h @@ -396,9 +396,9 @@ RTEMS_INLINE_ROUTINE Objects_Maximum _Objects_Get_index( */ RTEMS_INLINE_ROUTINE Objects_Id _Objects_Build_id( Objects_APIs the_api, - uint32_t the_class, - uint32_t node, - uint32_t index + uint16_t the_class, + uint8_t node, + uint16_t index ) { return (( (Objects_Id) the_api ) << OBJECTS_API_START_BIT) | |