From d2b860fecb7353a8f809e1841c299160f4c6c6b9 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Fri, 5 Mar 2004 05:47:19 +0000 Subject: [PATCH] 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. --- libbb/dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1