CodeQL fixes for "Comparison between A of type TypeA and B of wider type TypeB"

This commit is contained in:
Henry Gabryjelski 2025-01-10 12:33:50 -08:00
commit 91be146ecb
6 changed files with 36 additions and 3 deletions

View file

@ -296,6 +296,7 @@ typedef struct spiffs_t {
// file system configuration
spiffs_config cfg;
// number of logical blocks
// BUGBUG -- Should this be of type spiffs_block_ix?
u32_t block_count;
// cursor for free blocks, block index