From be3f6d04544ea9f20d85ce6ff7cb84703be98532 Mon Sep 17 00:00:00 2001 From: bug1 Date: Fri, 5 Mar 2004 05:47:19 +0000 Subject: 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. git-svn-id: svn://busybox.net/trunk/busybox@8571 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- libbb/dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbb') 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); -- cgit v1.2.3-55-g6feb