RTEMS | Address -Wsign-compare warnings manifesting on 64-bit targets (!971)

Joel Sherrill (@joel) gitlab at rtems.org
Fri Jan 30 18:13:36 UTC 2026



Joel Sherrill created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/971

Project:Branches: joel/rtems:fix-64-bit-sign-compares to rtems/rtos/rtems:main
Author:   Joel Sherrill
Assignee: Joel Sherrill



## Summary

Address -Wsign-compare warnings manifesting on 64-bit targets. 

This warning occurs when comparing a signed variable to an unsigned one. This addresses warnings that only occurred on 64-bit targets. For the ones which only appeared on 64-bit targets, the cause was frequently a mismatch when comparing a combination off_t, ssize_t, and int.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/971
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/20260130/c5b4dbe9/attachment.htm>


More information about the bugs mailing list