Sebastian Huber started a new discussion on cpukit/include/rtems/score/timestampimpl.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1076#note_143474 > */ > static inline time_t _Timestamp_Get_seconds( const Timestamp_Control *_time > ) > { > - return ( *_time >> 32 ); > + return (time_t) ( ( (uint64_t) *_time ) >> 32 ); This also doesn't fix the undefined behaviour if \*\_time is negative. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1076#note_143474 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
