RTEMS | cpukit/libfs/dosfs: Address -Wsign-compare warnings (!958)

Joel Sherrill (@joel) gitlab at rtems.org
Wed Jan 28 16:47:30 UTC 2026



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

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



## Summary

cpukit/libfs/dosfs: 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.

This addresses sign comparison warnings in the dosfs.


<!-- 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/958
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/8904d09c/attachment-0001.htm>


More information about the bugs mailing list