RTEMS | libtests: Address -Wsign-compare warnings (!925)
Joel Sherrill (@joel)
gitlab at rtems.org
Mon Jan 19 16:17:43 UTC 2026
Joel Sherrill created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/925
Project:Branches: joel/rtems:fix-Wsize-compare-libtests to rtems/rtos/rtems:main
Author: Joel Sherrill
Assignee: Joel Sherrill
## Summary
libtests: Address -Wsign-compare warnings
Most of these warnings were between int or ssize_t and size_t.
In particular, read() and write() return ssize_t and comparing
that value with the sizeof a buffer is a source of these warnings.
<!-- Default settings, if it is a dropdown it will set after submission -->
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/925
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/4769989f/attachment.htm>
More information about the bugs
mailing list