mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-06 07:33:17 +00:00
score: Fix implicit type conversion
This fix relates to a Coverity issue (PW.MIXED_ENUM_TYPE).
This commit is contained in:
@@ -148,7 +148,7 @@ RTEMS_INLINE_ROUTINE Watchdog_State _Watchdog_Get_state(
|
|||||||
const Watchdog_Control *the_watchdog
|
const Watchdog_Control *the_watchdog
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return RB_COLOR( &the_watchdog->Node.RBTree, Node );
|
return (Watchdog_State) RB_COLOR( &the_watchdog->Node.RBTree, Node );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user