diff options
-rw-r--r-- | fdisks/fdisk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fdisks/fdisk.c b/fdisks/fdisk.c index fa202183b..3a16c5f22 100644 --- a/fdisks/fdisk.c +++ b/fdisks/fdisk.c @@ -1324,7 +1324,7 @@ void print_partition_size(struct fdisk_context *cxt, int num, sector_t start, sector_t stop, int sysid) { char *str = size_to_human_string(SIZE_SUFFIX_3LETTER | SIZE_SUFFIX_SPACE, - (stop - start + 1) * cxt->sector_size); + (uint64_t)(stop - start + 1) * cxt->sector_size); printf(_("Partition %d of type %s and of size %s is set\n"), num, partition_type(sysid), str); free(str); } |