summaryrefslogtreecommitdiffstats
path: root/usr.bin/finger
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-02-08 07:52:51 +0000
committerpeter <peter@FreeBSD.org>2002-02-08 07:52:51 +0000
commit2a6db49cc938300e82537cfbb7ff5ffa68e5ed77 (patch)
tree1386819c2a29690e0746601e559dd10208d4105c /usr.bin/finger
parenta0f58ee853aa097ee812d3531aefa66fc9597864 (diff)
downloadFreeBSD-src-2a6db49cc938300e82537cfbb7ff5ffa68e5ed77.zip
FreeBSD-src-2a6db49cc938300e82537cfbb7ff5ffa68e5ed77.tar.gz
GRR. Unbreak WARNS=2.
cc1: warnings being treated as errors usr.bin/finger/lprint.c: In function `lprint': usr.bin/finger/lprint.c:191: warning: precision is not type int (arg 2) *** Error code 1 Pointy hat to: markm
Diffstat (limited to 'usr.bin/finger')
-rw-r--r--usr.bin/finger/lprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/finger/lprint.c b/usr.bin/finger/lprint.c
index d8f649f..85603b5 100644
--- a/usr.bin/finger/lprint.c
+++ b/usr.bin/finger/lprint.c
@@ -188,7 +188,7 @@ lprint(pn)
delta = gmtime(&w->idletime);
if (delta->tm_yday || delta->tm_hour || delta->tm_min) {
cpr += printf("%-*s idle ",
- maxlen - strlen(w->tty) + 1, ",");
+ maxlen - (int)strlen(w->tty) + 1, ",");
if (delta->tm_yday > 0) {
cpr += printf("%d day%s ",
delta->tm_yday,
OpenPOWER on IntegriCloud