forked from Imagelibrary/rtems
score: Fix implicit type conversion
This fix relates to a Coverity issue (PW.MIXED_ENUM_TYPE).
This commit is contained in:
@@ -137,7 +137,7 @@ RTEMS_INLINE_ROUTINE Per_CPU_Watchdog_index _Timer_Watchdog_header_index(
|
|||||||
Timer_Classes the_class
|
Timer_Classes the_class
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return ( the_class & TIMER_CLASS_BIT_TIME_OF_DAY );
|
return (Per_CPU_Watchdog_index) ( the_class & TIMER_CLASS_BIT_TIME_OF_DAY );
|
||||||
}
|
}
|
||||||
|
|
||||||
RTEMS_INLINE_ROUTINE Watchdog_Interval _Timer_Get_CPU_ticks(
|
RTEMS_INLINE_ROUTINE Watchdog_Interval _Timer_Get_CPU_ticks(
|
||||||
|
|||||||
Reference in New Issue
Block a user