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