diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-07 23:33:17 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-07 23:33:17 +0000 |
commit | d6c8b56b62a352da122eca00705e672894e9828c (patch) | |
tree | 241396b494bafd325ea97cc24d6618cc5d95283a /cpukit/score/src/objectgetinfo.c | |
parent | 2009-07-07 Chris Johns <chrisj@rtems.org> (diff) | |
download | rtems-d6c8b56b62a352da122eca00705e672894e9828c.tar.bz2 |
2009-07-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/src/rtemsobjectapimaximumclass.c,
score/include/rtems/score/object.h,
score/src/objectapimaximumclass.c, score/src/objectgetinfo.c: Change
return type of API maximum class methods to unsigned.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/src/objectgetinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/objectgetinfo.c b/cpukit/score/src/objectgetinfo.c index de13fa1998..dd8e84a7da 100644 --- a/cpukit/score/src/objectgetinfo.c +++ b/cpukit/score/src/objectgetinfo.c @@ -33,7 +33,7 @@ Objects_Information *_Objects_Get_information( return NULL; the_class_api_maximum = _Objects_API_maximum_class( the_api ); - if ( the_class_api_maximum < 0 || + if ( the_class_api_maximum == 0 || the_class > (uint32_t) the_class_api_maximum ) return NULL; |