diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2004-03-05 08:47:19 +0300 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2004-03-05 08:47:19 +0300 |
commit | d2b860fecb7353a8f809e1841c299160f4c6c6b9 (patch) | |
tree | 7b9c6c732d197e7e4fd82b1f8b82ec7da8373283 /libbb/dump.c | |
parent | bbf2ce36d841fe53689516f6e52751e5f59ad393 (diff) |
Patch from Vernon Sauder.
The off_t type is not a consistent size; it depends on the kernel options
(something about large file support). Therefore, the format string for
printing an address is not always the same.
Diffstat (limited to 'libbb/dump.c')
-rw-r--r-- | libbb/dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/dump.c b/libbb/dump.c index f071ea09c..5046b926b 100644 --- a/libbb/dump.c +++ b/libbb/dump.c @@ -650,7 +650,7 @@ static void display(void) for (pr = endfu->nextpr; pr; pr = pr->nextpr) { switch (pr->flags) { case F_ADDRESS: - (void) printf(pr->fmt, eaddress); + (void) printf(pr->fmt, (unsigned int) eaddress); break; case F_TEXT: (void) printf(pr->fmt); |