diff options
author | Ethan Sommer <e5ten.arch@gmail.com> | 2020-04-15 11:13:42 -0400 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-04-15 17:31:12 -0500 |
commit | e605a828b84aebc5506c63508ccacdc904bab5ec (patch) | |
tree | a68e18801f996d261ba0e78e83e4e578d2090c0c | |
parent | 722f1909e4e7c1201c0553e94a01b982db462e5e (diff) | |
download | toybox-e605a828b84aebc5506c63508ccacdc904bab5ec.tar.gz |
fdisk: change sector_t to unsigned long long to fix -Wformat
-rw-r--r-- | toys/pending/fdisk.c | 2 |
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, |