filestr_cache: Some more 64-bit sector_t fixes

This isn't strictly needed for FAT32, but the core file cache code
needs to be able to reference >32bit sector addresses.

Change-Id: I57838f1228c1d45f6a8c4755c5d1f9063c13b3dd
This commit is contained in:
Solomon Peachy 2024-11-11 10:36:02 -05:00
parent c67294913f
commit a4fe20a278
4 changed files with 8 additions and 4 deletions

View file

@ -2411,7 +2411,7 @@ void fat_filestr_init(struct fat_filestr *fatstr, struct fat_file *file)
fat_rewind(fatstr);
}
unsigned long fat_query_sectornum(const struct fat_filestr *filestr)
sector_t fat_query_sectornum(const struct fat_filestr *filestr)
{
/* return next sector number to be transferred */
struct bpb * const fat_bpb = FAT_BPB(filestr->fatfilep->volume);