RTEMS | bsps/riscv: Address -Wsign-compare warnings (!1010)
Joel Sherrill (@joel)
gitlab at rtems.org
Wed Feb 4 15:19:43 UTC 2026
Joel Sherrill created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1010
Project:Branches: joel/rtems:fix-bsps-riscv-sign-compare to rtems/rtos/rtems:main
Author: Joel Sherrill
Assignee: Joel Sherrill
## Summary
bsps/riscv: 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/1010
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/b4a3972c/attachment.htm>
More information about the bugs
mailing list