Changes in uspace/srv/fs/fat/fat_fat.c [7efc517:3f93cdbe] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_fat.c
r7efc517 r3f93cdbe 361 361 uint16_t rscnt; 362 362 uint16_t sf; 363 uint 16_t ts;363 uint32_t ts; 364 364 unsigned rde; 365 365 unsigned rds; … … 379 379 sf = uint16_t_le2host(bs->sec_per_fat); 380 380 rde = uint16_t_le2host(bs->root_ent_max); 381 ts = uint16_t_le2host(bs->totsec16); 381 ts = (uint32_t) uint16_t_le2host(bs->totsec16); 382 if (ts == 0) 383 ts = uint32_t_le2host(bs->totsec32); 382 384 383 385 rds = (sizeof(fat_dentry_t) * rde) / bps;
Note:
See TracChangeset
for help on using the changeset viewer.