aboutsummaryrefslogtreecommitdiff
path: root/toys/pending
diff options
context:
space:
mode:
authorEthan Sommer <e5ten.arch@gmail.com>2020-04-15 11:13:42 -0400
committerRob Landley <rob@landley.net>2020-04-15 17:31:12 -0500
commite605a828b84aebc5506c63508ccacdc904bab5ec (patch)
treea68e18801f996d261ba0e78e83e4e578d2090c0c /toys/pending
parent722f1909e4e7c1201c0553e94a01b982db462e5e (diff)
downloadtoybox-e605a828b84aebc5506c63508ccacdc904bab5ec.tar.gz
fdisk: change sector_t to unsigned long long to fix -Wformat
Diffstat (limited to 'toys/pending')
-rw-r--r--toys/pending/fdisk.c2
1 files changed, 1 insertions, 1 deletions
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,