From 77dcd09d42525aa2957485238446c66327c2375e Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Fri, 8 Feb 2002 07:52:51 +0000 Subject: [PATCH] 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 --- usr.bin/finger/lprint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/finger/lprint.c b/usr.bin/finger/lprint.c index d8f649f93853..85603b52aa36 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,