RTEMS | libtests: Address -Wsign-compare warnings (!925)
Kinsey Moore (@opticron)
gitlab at rtems.org
Mon Jan 19 17:13:45 UTC 2026
Kinsey Moore started a new discussion on testsuites/libtests/cpuuse/tswitch.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/925#note_139239
> * Only require 8 task switches on sis/gdb. --joel 2 Feb 2011
> */
> struct taskSwitchLog taskSwitchLog[25];
> -int taskSwitchLogIndex;
> +ssize_t taskSwitchLogIndex;
Is this change necessary if the added cast below is in place?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/925#note_139239
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/20260119/3cf2ef5d/attachment.htm>
More information about the bugs
mailing list