1
0
Fork 0
forked from len0rd/rockbox

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

@ -54,8 +54,8 @@ enum filestr_cache_flags
struct filestr_cache
{
sector_t sector; /* file sector that is in buffer */
uint8_t *buffer; /* buffer to hold sector */
unsigned long sector; /* file sector that is in buffer */
unsigned int flags; /* FSC_* bits */
};