RTEMS | cpukit: Correct comparisons of different signedness (!826)

Kinsey Moore (@opticron) gitlab at rtems.org
Thu Nov 6 17:11:22 UTC 2025




Kinsey Moore started a new discussion on cpukit/dev/flash/flashdev.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/826#note_135750

 >    rtems_flashdev_region *region_in
 >  )
 >  {
 > -  int i;
 > +  size_t i;

This should be uint32_t as that is the type returned by rtems_flashdev_find_unallocated_region().

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/826#note_135750
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/eb99e697/attachment-0001.htm>


More information about the bugs mailing list