summaryrefslogtreecommitdiffstats
path: root/dosfstools/src/check.c
diff options
context:
space:
mode:
Diffstat (limited to 'dosfstools/src/check.c')
-rw-r--r--dosfstools/src/check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dosfstools/src/check.c b/dosfstools/src/check.c
index bbb97e4f3..add822293 100644
--- a/dosfstools/src/check.c
+++ b/dosfstools/src/check.c
@@ -585,10 +585,10 @@ static int check_file(DOS_FS * fs, DOS_FILE * file)
if (!(file->dir_ent.attr & ATTR_DIR) && le32toh(file->dir_ent.size) <=
(uint64_t)clusters * fs->cluster_size) {
printf
- ("%s\n File size is %u bytes, cluster chain length is > %lu "
+ ("%s\n File size is %u bytes, cluster chain length is > %llu "
"bytes.\n Truncating file to %u bytes.\n", path_name(file),
le32toh(file->dir_ent.size),
- (uint64_t)clusters * fs->cluster_size,
+ (unsigned long long)clusters * fs->cluster_size,
le32toh(file->dir_ent.size));
truncate_file(fs, file, clusters);
break;