Prakhar Kumar commented on a discussion on 
cpukit/libfs/src/rfs/rtems-rfs-bitmaps.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/892#note_138120

 >    if (rc > 0)
 >      return rc;
 >  
 > -  if (bit >= control->size)
 > +  if (bit < 0 || (size_t)bit >= control->size)

I think making rtems_rfs_bitmap_bit as size_t would be better

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/892#note_138120
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to