exfat: Support files over 4GiB

file size in grub_fat_data was 32-bit on exfat.
This commit is contained in:
Carlo Caione 2017-01-27 22:10:21 +00:00 committed by Vladimir Serbinenko
parent 43dbf83aa2
commit a0413e2677

View file

@ -189,7 +189,11 @@ struct grub_fshelp_node {
struct grub_fat_data *data;
grub_uint8_t attr;
grub_ssize_t file_size;
#ifndef MODE_EXFAT
grub_uint32_t file_size;
#else
grub_uint64_t file_size;
#endif
grub_uint32_t file_cluster;
grub_uint32_t cur_cluster_num;
grub_uint32_t cur_cluster;