score: Fix implicit type conversion

This fix relates to a Coverity issue (PW.MIXED_ENUM_TYPE).
This commit is contained in:
Sebastian Huber
2021-01-28 16:52:52 +01:00
parent d52c49611c
commit 9e56c85033

View File

@@ -148,7 +148,7 @@ RTEMS_INLINE_ROUTINE Watchdog_State _Watchdog_Get_state(
const Watchdog_Control *the_watchdog
)
{
return RB_COLOR( &the_watchdog->Node.RBTree, Node );
return (Watchdog_State) RB_COLOR( &the_watchdog->Node.RBTree, Node );
}
/**