-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OS_statvfs_t types do not match corresponding POSIX types #570
Comments
The
I assume a conversion warning would have been in relation to the FWIW, my experience with Would recommend just doing a typecast or something to squelch the warning, rather than change OSAL API. Unless there is an expectation of seeing a filesystem block size that exceeds 32 bits? |
On further thought, the struct almost certainly has 32 bits of padding following that value anyway, so changing |
I"m fine with not changing it. Put the uint32 at the botttom of the struct to avoid padding . ;) |
Fixed in #654 (confirmed no conversion warning currently on a 64 bit posix build.) |
Fix nasa#569, Resolve CI warnings and add badge
When building for 64-bit, Wconversion shows issues with OS_statvfs_t's types. They don't match the types in struct statvfs on POSIX systems. It may be worth a discussion to change these types of just handle the conversions in the specific implementation.
The text was updated successfully, but these errors were encountered: