From d6619f7b2b75bcaa7167ab2cf8c55bcb33998245 Mon Sep 17 00:00:00 2001 From: jb Date: Wed, 13 May 1998 06:52:08 +0000 Subject: The printf type checking in gcc wants %qd to be a long long, so add a cast in case off_t is not a long long (as on alpha). --- usr.sbin/lpr/common_source/displayq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/lpr/common_source') diff --git a/usr.sbin/lpr/common_source/displayq.c b/usr.sbin/lpr/common_source/displayq.c index 3f0ad42..37ee980 100644 --- a/usr.sbin/lpr/common_source/displayq.c +++ b/usr.sbin/lpr/common_source/displayq.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)displayq.c 8.4 (Berkeley) 4/28/95"; */ static const char rcsid[] = - "$Id$"; + "$Id: displayq.c,v 1.13 1997/12/02 20:45:19 wollman Exp $"; #endif /* not lint */ #include @@ -447,7 +447,7 @@ ldump(nfile, file, copies) else printf("%-32s", nfile); if (*file && !stat(file, &lbuf)) - printf(" %qd bytes", lbuf.st_size); + printf(" %qd bytes", (long long) lbuf.st_size); else printf(" ??? bytes"); putchar('\n'); -- cgit v1.1