summaryrefslogtreecommitdiffstats
path: root/usr.bin/w/pr_time.c
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1997-08-26 06:59:34 +0000
committercharnier <charnier@FreeBSD.org>1997-08-26 06:59:34 +0000
commit98f0299552cffc1a4e0205d4080e927aa9c58b21 (patch)
tree99c3f6bf1c55a2d611b364b5640a448f7301f944 /usr.bin/w/pr_time.c
parent466450db24b4cddac6d14bd1b7e8c64fc70fc922 (diff)
downloadFreeBSD-src-98f0299552cffc1a4e0205d4080e927aa9c58b21.zip
FreeBSD-src-98f0299552cffc1a4e0205d4080e927aa9c58b21.tar.gz
Revert some casts I introduced.
Requested by: Bruce.
Diffstat (limited to 'usr.bin/w/pr_time.c')
-rw-r--r--usr.bin/w/pr_time.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/w/pr_time.c b/usr.bin/w/pr_time.c
index 5dcfcbc..a2e54e6 100644
--- a/usr.bin/w/pr_time.c
+++ b/usr.bin/w/pr_time.c
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)pr_time.c 8.2 (Berkeley) 4/4/94";
#endif
static const char rcsid[] =
- "$Id$";
+ "$Id: pr_time.c,v 1.9 1997/08/25 06:42:18 charnier Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -104,14 +104,14 @@ pr_idle(idle)
/* If idle more than an hour, print as HH:MM. */
else if (idle >= 3600)
(void)printf(" %2d:%02d ",
- (int)idle / 3600, (int)(idle % 3600) / 60);
+ idle / 3600, (idle % 3600) / 60);
else if (idle / 60 == 0)
(void)printf(" - ");
/* Else print the minutes idle. */
else
- (void)printf(" %2d ", (int)idle / 60);
+ (void)printf(" %2d ", idle / 60);
return(0); /* not idle longer than 9 days */
}
OpenPOWER on IntegriCloud