[PATCH 3/4] cpukit/rtems: fix return type mismatch for _TOD_To_seconds

Gedare Bloom gedare at rtems.org
Thu Jun 23 19:26:46 UTC 2016


---
 cpukit/rtems/src/clocktodtoseconds.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/rtems/src/clocktodtoseconds.c b/cpukit/rtems/src/clocktodtoseconds.c
index bab9f85..99d0cbd 100644
--- a/cpukit/rtems/src/clocktodtoseconds.c
+++ b/cpukit/rtems/src/clocktodtoseconds.c
@@ -42,7 +42,7 @@ const uint16_t   _TOD_Days_to_date[2][13] = {
 const uint16_t   _TOD_Days_since_last_leap_year[4] = { 0, 366, 731, 1096 };
 
 
-uint32_t   _TOD_To_seconds(
+Watchdog_Interval   _TOD_To_seconds(
   const rtems_time_of_day *the_tod
 )
 {
-- 
1.9.1




More information about the devel mailing list