531551
From acf8de63d2a797850935feeaf6bac2dd21c9b496 Mon Sep 17 00:00:00 2001
531551
From: Karel Zak <kzak@redhat.com>
531551
Date: Wed, 15 Mar 2017 13:23:56 +0100
531551
Subject: [PATCH 089/116] fdisk: fix Blocks column calculation
531551
531551
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1344102
531551
Signed-off-by: Karel Zak <kzak@redhat.com>
531551
---
531551
 fdisks/fdiskdoslabel.c | 2 +-
531551
 1 file changed, 1 insertion(+), 1 deletion(-)
531551
531551
diff --git a/fdisks/fdiskdoslabel.c b/fdisks/fdiskdoslabel.c
531551
index b7eb35a..6375692 100644
531551
--- a/fdisks/fdiskdoslabel.c
531551
+++ b/fdisks/fdiskdoslabel.c
531551
@@ -1202,7 +1202,7 @@ int dos_list_table(struct fdisk_context *cxt,
531551
 		p = pe->part_table;
531551
 		if (p && !is_cleared_partition(p)) {
531551
 			unsigned int psects = get_nr_sects(p);
531551
-			unsigned int pblocks = psects;
531551
+			unsigned long pblocks = psects;
531551
 			unsigned int podd = 0;
531551
 			struct fdisk_parttype *type =
531551
 					fdisk_get_parttype_from_code(cxt, p->sys_ind);
531551
-- 
531551
2.9.3
531551