Skip to content
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

zephyr: flash map: fix comparison signedness #2244

Conversation

rbrscoleman
Copy link
Contributor

This resolves a warning when building with -Wsign-compare.

struct flash_area.fa_size is declared as size_t in the Zephyr source tree (in include/zephyr/storage/flash_map.h).

This resolves a warning when building with `-Wsign-compare`.

`struct flash_area.fa_size` is declared as `size_t` in the Zephyr source
tree (in `include/zephyr/storage/flash_map.h`).

Signed-off-by: Samuel Coleman <[email protected]>
@nordicjm nordicjm merged commit 8b7c7cc into mcu-tools:main Mar 28, 2025
58 checks passed
@rbrscoleman rbrscoleman deleted the bugfix/zephyr-flash-map-fix-comparison-signedness branch March 31, 2025 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants