summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/object.h
diff options
context:
space:
mode:
authorSantosh G Vattam <vattam.santosh@gmail.com>2014-11-22 18:25:12 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-11-23 08:38:31 -0600
commit89be4e77120c4a8ae7faa2e37b519a6f63460e37 (patch)
tree3ef1d4e9c0438b7dd7a8b027c6b77fb289d1560b /cpukit/score/include/rtems/score/object.h
parentpowerpc/haleakala: Fix warnings (diff)
downloadrtems-89be4e77120c4a8ae7faa2e37b519a6f63460e37.tar.bz2
rtems/score/object.h: Correct types on _Objects_Build_id
close 1423
Diffstat (limited to 'cpukit/score/include/rtems/score/object.h')
-rw-r--r--cpukit/score/include/rtems/score/object.h6
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) |