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.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/exfat/mkfs/fat.c b/exfat/mkfs/fat.c
index 9ed90223e..c70dc8637 100644
--- a/exfat/mkfs/fat.c
+++ b/exfat/mkfs/fat.c
@@ -3,7 +3,7 @@
File Allocation Table creation code.
Free exFAT implementation.
- Copyright (C) 2011-2013 Andrew Nayenko
+ Copyright (C) 2011-2015 Andrew Nayenko
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -20,18 +20,18 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include <unistd.h>
#include "fat.h"
#include "cbm.h"
#include "uct.h"
#include "rootdir.h"
+#include <unistd.h>
-static off64_t fat_alignment(void)
+static off_t fat_alignment(void)
{
- return (off64_t) 128 * get_sector_size();
+ return (off_t) 128 * get_sector_size();
}
-static off64_t fat_size(void)
+static off_t fat_size(void)
{
return get_volume_size() / get_cluster_size() * sizeof(cluster_t);
}