Sebastian Huber commented on a discussion on 
cpukit/include/rtems/score/processormaskimpl.h: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1096#note_144130

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

The `<sys/bitset.h>` is used by `<sys/cpuset.h>` which is used by 
`<sys/_pthreadtypes.h>` which is used by `<pthread.h>`. In RTEMS, the bitset 
support is used to implement these APIs defined by headers in Newlib. I really 
don't know why fixing a simple integer type issue results now in such a 
discussion on principle grounds.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1096#note_144130
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