RTEMS | cpukit/shell/edit: Address -Wsign-compare warnings (!962)

Joel Sherrill (@joel) gitlab at rtems.org
Wed Jan 28 17:08:06 UTC 2026



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

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



## Summary

cpukit/shell/edit: Address -Wsign-compare warnings

This warning occurs when comparing a signed variable to an unsigned one.
This is frequently an int or ssize_t variable compared to a uint32_t or
size_t. Sometimes the size_t is from a sizeof() use.


<!-- 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/962
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/20260128/89846c8e/attachment.htm>


More information about the bugs mailing list