diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/score/inline/object.inl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/exec/score/inline/object.inl b/c/src/exec/score/inline/object.inl index 101779ea80..7e4d12aeec 100644 --- a/c/src/exec/score/inline/object.inl +++ b/c/src/exec/score/inline/object.inl @@ -101,7 +101,7 @@ RTEMS_INLINE_ROUTINE boolean _Objects_Is_class_valid( Objects_Classes the_class ) { - return the_class <= OBJECTS_CLASSES_LAST; + return the_class && the_class <= OBJECTS_CLASSES_LAST; } /*PAGE |