RTEMS | cpukit/score/src/kern_ntptime.c: Negative Shift Value Warning (!733)

Joel Sherrill (@joel) gitlab at rtems.org
Thu Sep 18 22:50:47 UTC 2025



Joel Sherrill created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/733

Project:Branches: joel/rtems:fix-kern_ntptime-negative-shift-warning to rtems/rtos/rtems:main
Author:   Joel Sherrill
Assignee: Joel Sherrill
Reviewers: Kinsey Moore and Gedare Bloom


## Summary

cpukit/score/src/kern_ntptime.c: Negative Shift Value Warning

The code in question was shifting a signed integer. This was
caught by the -Wshift-negative-value GCC warning.

Closes #5339.


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/733
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/20250918/f8905907/attachment.htm>


More information about the bugs mailing list