RTEMS | bsps/powerpc/ss555/start/bspstart.c: Fix array bounds warning (!602)
Joel Sherrill (@joel)
gitlab at rtems.org
Thu Jul 17 21:29:35 UTC 2025
Joel Sherrill created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/602
Project:Branches: joel/rtems:ss555-bspstart.c-array-bounds to rtems/rtos/rtems:main
Author: Joel Sherrill
Assignee: Joel Sherrill
## Summary
bsps/powerpc/ss555/start/bspstart.c: Fix array bounds warning
GCC warned that the pointer magic was resulting in an array bounds
violation. The solution is to use uintptr_t when doing abusive
pointer math.
<!-- 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/602
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/20250717/e6758fa4/attachment.htm>
More information about the bugs
mailing list