RTEMS | Use unsigned type for processor masks (!1096)

Chris Johns (@chris) gitlab at rtems.org
Mon Mar 2 22:04:01 UTC 2026



Merge request https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1096 was reviewed by Chris Johns

--
  
Chris Johns started a new discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1096#note_144044


Can you please provide more context on "default options"  and which BSPs and tools sets you are seeing these changes with? Thanks.

--
  
Chris Johns started a new discussion on cpukit/include/rtems/score/processormaskimpl.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1096#note_144045

 >  {
 > -  long bits = mask->__bits[ index / _BITSET_BITS ];
 > +  unsigned long bits = mask->__bits[ index / _BITSET_BITS ];

`__bits` is declared as `long`. It would help to know the warning or error this is dealing with.


-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1096
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/20260302/e9c5576c/attachment.htm>


More information about the bugs mailing list