mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
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:
parent
c67294913f
commit
a4fe20a278
4 changed files with 8 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue