RTEMS | cpukit: Correct comparisons of different signedness (!826)
Kinsey Moore (@opticron)
gitlab at rtems.org
Thu Nov 6 17:18:44 UTC 2025
Kinsey Moore started a new discussion on cpukit/libdl/rtl-debugger.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/826#note_135752
> struct link_map* l = obj->linkmap;
> struct link_map* prev;
> uint32_t obj_num = obj->obj_num;
> - int i;
> + size_t i;
`i` should match obj_num as uint32_t.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/826#note_135752
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/20251106/d472b2a9/attachment.htm>
More information about the bugs
mailing list