[Bug 2135] times() and _times() are subject to integer overflows

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Tue Jul 30 08:07:18 UTC 2013


https://www.rtems.org/bugzilla/show_bug.cgi?id=2135

--- Comment #1 from Sebastian Huber <sebastian.huber at embedded-brains.de> 2013-07-30 03:07:18 CDT ---
(In reply to comment #0)
> The clock_t type is defined as unsigned long for RTEMS in Newlib.  With a 1ms
> clock tick an overflow happens after 7 days on 32-bit long targets.

I mean 7 weeks.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list