From 92258541449581302e180d05e827e27d35030a18 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 1 Nov 2006 10:25:35 +0000 Subject: mostly style fixes --- coreutils/who.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/who.c') diff --git a/coreutils/who.c b/coreutils/who.c index 7566bfddc..4cd42652b 100644 --- a/coreutils/who.c +++ b/coreutils/who.c @@ -30,7 +30,7 @@ static const char * idle_string (time_t t) if (s < 60) return "."; if (s < (24 * 60 * 60)) { - sprintf (str, "%02d:%02d", + sprintf(str, "%02d:%02d", (int) (s / (60 * 60)), (int) ((s % (60 * 60)) / 60)); return str; -- cgit v1.2.3