RTEMS | m68k/genmcf548x/start/init548x.c: Fix warning for comparing two arrays (!597)

Joel Sherrill (@joel) gitlab at rtems.org
Thu Jul 17 21:02:20 UTC 2025



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

Project:Branches: joel/rtems:genmcf548x-init548x-fix-warning to rtems/rtos/rtems:main
Author:   Joel Sherrill
Assignee: Joel Sherrill



## Summary

m68k/genmcf548x/start/init548x.c: Fix warning for comparing two arrays

GCC warnings when comparing the starting addresses of two arrays when
using just the name of the array. Changes to use the address of
element 0 which resolved the warning.


<!-- 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/597
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/629eeb40/attachment.htm>


More information about the bugs mailing list