diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/macros/rtems/score/object.inl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/macros/rtems/score/object.inl b/cpukit/score/macros/rtems/score/object.inl index 2865b1e23b..cce2cbde9b 100644 --- a/cpukit/score/macros/rtems/score/object.inl +++ b/cpukit/score/macros/rtems/score/object.inl @@ -62,7 +62,7 @@ */ #define _Objects_Is_class_valid( _the_class ) \ - ( (_the_class) <= OBJECTS_CLASSES_LAST ) + ( (_the_class) && (_the_class) <= OBJECTS_CLASSES_LAST ) /*PAGE * |