diff options
author | Leah Neukirchen <leah@vuxu.org> | 2017-10-06 13:20:28 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-10-06 13:20:28 +0200 |
commit | 5fe0003c982f898e6feca13ea5d0921fcb17858e (patch) | |
tree | 797708dc742115c0fa26f5e1803f78f157350287 | |
parent | 88bde0af33256b4773dc1e5113f42785b9d0637a (diff) | |
download | mblaze-5fe0003c982f898e6feca13ea5d0921fcb17858e.tar.gz mblaze-5fe0003c982f898e6feca13ea5d0921fcb17858e.tar.xz mblaze-5fe0003c982f898e6feca13ea5d0921fcb17858e.zip |
mscan: revert width to int
-rw-r--r-- | mscan.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mscan.c b/mscan.c index 08dbc90..45723b3 100644 --- a/mscan.c +++ b/mscan.c @@ -109,7 +109,7 @@ numline(char *file) } static char * -fmt_date(struct message *msg, long w, int iso) +fmt_date(struct message *msg, int w, int iso) { static char date[32]; char *v; @@ -244,7 +244,7 @@ fmt_to_flag(struct message *msg) } static ssize_t -print_human(intmax_t i, long w) +print_human(intmax_t i, int w) { double d = i / 1024.0; const char *u = "\0\0M\0G\0T\0P\0E\0Z\0Y\0"; @@ -310,7 +310,7 @@ oneline(char *file) } f++; - long w = 0; + int w = 0; if ((*f >= '0' && *f <= '9') || *f == '-') { errno = 0; char *e; |