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

Kinsey Moore (@opticron) gitlab at rtems.org
Thu Nov 6 23:54:28 UTC 2025




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

 >    rtems_flashdev_region *region_in
 >  )
 >  {
 > -  uint32_t region_index = rtems_flashdev_get_region_index( iop );
 > +  int region_index = rtems_flashdev_get_region_index( iop );

This change should have been reverted in favor of the header change.

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


More information about the bugs mailing list