RTEMS | testsuites: Correct comparisons of different signedness (!828)

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




Kinsey Moore started a new discussion on testsuites/tmtests/tm05/task1.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/828#note_135755

 >    rtems_status_code   status;
 >    rtems_task_entry    task_entry;
 >    rtems_task_priority priority;
 > -  uint32_t      index;
 > +  int                 index;

`operation_count` should be uint32_t instead of changing `index` to `int` as the count can never be negative.

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


More information about the bugs mailing list