RTEMS | kern_ntptime.c: Negative Shift Value Warning (#5339)
Gedare Bloom (@gedare)
gitlab at rtems.org
Fri Sep 19 18:53:27 UTC 2025
Gedare Bloom commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5339#note_132736
It might be that `a = INT_MIN` is causing an issue here. I think it is sufficiently safe to cast `(uint64_t)(-a)` instead of `int64_t`.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5339#note_132736
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250919/8da028d1/attachment-0001.htm>
More information about the bugs
mailing list