RTEMS | bsps/or1k: Address -Wsign-compare warnings (!1008)

Joel Sherrill (@joel) gitlab at rtems.org
Wed Feb 4 15:12:22 UTC 2026



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

Project:Branches: joel/rtems:fix-bsps-or1k-sign-compare to rtems/rtos/rtems:main
Author:   Joel Sherrill
Assignee: Joel Sherrill


## Summary

bsps/or1k: Address -Wsign-compare warnings

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.

## Generative AI

None

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1008
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/20260204/bec8eb29/attachment.htm>


More information about the bugs mailing list