[rtems commit] rtems/score/object.h: Correct types on _Objects_Build_id
Joel Sherril
joel at rtems.org
Sun Nov 23 14:39:10 UTC 2014
Module: rtems
Branch: master
Commit: 89be4e77120c4a8ae7faa2e37b519a6f63460e37
Changeset: http://git.rtems.org/rtems/commit/?id=89be4e77120c4a8ae7faa2e37b519a6f63460e37
Author: Santosh G Vattam <vattam.santosh at gmail.com>
Date: Sat Nov 22 18:25:12 2014 -0600
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(-)
diff --git a/cpukit/score/include/rtems/score/object.h b/cpukit/score/include/rtems/score/object.h
index 03afc9b..70e5fe6 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) |
More information about the vc
mailing list