From e605a828b84aebc5506c63508ccacdc904bab5ec Mon Sep 17 00:00:00 2001 From: Ethan Sommer Date: Wed, 15 Apr 2020 11:13:42 -0400 Subject: fdisk: change sector_t to unsigned long long to fix -Wformat --- toys/pending/fdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toys/pending/fdisk.c b/toys/pending/fdisk.c index 08cfa71f..4cc0190a 100644 --- a/toys/pending/fdisk.c +++ b/toys/pending/fdisk.c @@ -46,7 +46,7 @@ GLOBALS( #define sector(s) ((s) & 0x3f) #define cylinder(s, c) ((c) | (((s) & 0xc0) << 2)) -typedef off_t sector_t; +typedef unsigned long long sector_t; struct partition { unsigned char boot_ind, head, sector, cyl, sys_ind, end_head, -- cgit v1.2.3