RTEMS | psxtests, psxtmtests: Address -Wsign-compare warnings (!932)

Kinsey Moore (@opticron) gitlab at rtems.org
Thu Jan 22 17:13:40 UTC 2026




Kinsey Moore started a new discussion on testsuites/fstests/fsrfsbitmap01/test.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/932#note_139510

 >      }
 >      if (state)
 >      {
 > -      printf (" %2d. Cleared bit still set: bit = %" PRId32 "\n", test, bit + i);
 > +      printf (" %2" PRId32 ". Cleared bit still set: bit = %zu\n",

The first parameter here should remain `%d` as test is not changing types and `%d` is appropriate for `int`.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/932#note_139510
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/20260122/499f43b6/attachment-0001.htm>


More information about the bugs mailing list