summaryrefslogtreecommitdiffstats
path: root/exfat/mkfs/fat.c
diff options
context:
space:
mode:
Diffstat (limited to 'exfat/mkfs/fat.c')
-rw-r--r--exfat/mkfs/fat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/exfat/mkfs/fat.c b/exfat/mkfs/fat.c
index c70dc8637..d8dff2bee 100644
--- a/exfat/mkfs/fat.c
+++ b/exfat/mkfs/fat.c
@@ -26,12 +26,12 @@
#include "rootdir.h"
#include <unistd.h>
-static off_t fat_alignment(void)
+static loff_t fat_alignment(void)
{
- return (off_t) 128 * get_sector_size();
+ return (loff_t) 128 * get_sector_size();
}
-static off_t fat_size(void)
+static loff_t fat_size(void)
{
return get_volume_size() / get_cluster_size() * sizeof(cluster_t);
}