summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-02-02 03:48:35 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-02-02 03:48:35 +0000
commit77112dfcea00fc8585f3430e133230fc313b81eb (patch)
tree0799293e5ee540b42bf990b9c4fe65eaaa49d9ad /usr.bin
parent3332e23f94eb523b5752b2fa0610c589225b4a06 (diff)
Remove useless cast to quad_t. Gcc thinks "%qd" in printf is the same as "%lld" so we get a warning on alpha with -Wall. Live with it.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/wc/wc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/wc/wc.c b/usr.bin/wc/wc.c
index bedbfc85490..2b267a1f51e 100644
--- a/usr.bin/wc/wc.c
+++ b/usr.bin/wc/wc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wc.c,v 1.3 1999/02/02 03:44:07 millert Exp $ */
+/* $OpenBSD: wc.c,v 1.4 1999/02/02 03:48:34 millert Exp $ */
/*
* Copyright (c) 1980, 1987, 1991, 1993
@@ -43,7 +43,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)wc.c 8.2 (Berkeley) 5/2/95";
#else
-static char rcsid[] = "$OpenBSD: wc.c,v 1.3 1999/02/02 03:44:07 millert Exp $";
+static char rcsid[] = "$OpenBSD: wc.c,v 1.4 1999/02/02 03:48:34 millert Exp $";
#endif
#endif /* not lint */
@@ -252,11 +252,11 @@ print_counts(lines, words, chars, name)
{
if (doline)
- (void)printf(" %7qd", (quad_t) lines);
+ (void)printf(" %7qd", lines);
if (doword)
- (void)printf(" %7qd", (quad_t) words);
+ (void)printf(" %7qd", words);
if (dochar)
- (void)printf(" %7qd", (quad_t) chars);
+ (void)printf(" %7qd", chars);
(void)printf(" %s\n", name);
}