RTEMS | cpukit/libfs/fatfs: Resolve sign extension warning (!977)

Sepehr Ganji (@Sepehr) gitlab at rtems.org
Sat Jan 31 19:21:00 UTC 2026



Sepehr Ganji created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/977

Project:Branches: Sepehr/rtems:fix-SIGN_EXTENSION-fatfs to rtems/rtos/rtems:main
Author:   Sepehr Ganji




## Summary

cpukit/libfs/fatfs: Resolve sign extension warning

Cast fno->fdate to uint32_t before left shift to prevent sign extension
when the value is promoted and XORed with the 64-bit inode_hash.

An attempt to close #5400

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/977
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/20260131/79de0e35/attachment.htm>


More information about the bugs mailing list