summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/score/watchdogimpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/include/rtems/score/watchdogimpl.h')
-rw-r--r--cpukit/include/rtems/score/watchdogimpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/include/rtems/score/watchdogimpl.h b/cpukit/include/rtems/score/watchdogimpl.h
index a52fb1c2cb..ed9d1ef5cd 100644
--- a/cpukit/include/rtems/score/watchdogimpl.h
+++ b/cpukit/include/rtems/score/watchdogimpl.h
@@ -150,7 +150,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 );
}
/**