From 89be4e77120c4a8ae7faa2e37b519a6f63460e37 Mon Sep 17 00:00:00 2001 From: Santosh G Vattam Date: Sat, 22 Nov 2014 18:25:12 -0600 Subject: rtems/score/object.h: Correct types on _Objects_Build_id close 1423 --- cpukit/score/include/rtems/score/object.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpukit/score/include/rtems/score/object.h') 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) | -- cgit v1.2.3