diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-01 10:25:35 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-01 10:25:35 +0000 |
commit | 92258541449581302e180d05e827e27d35030a18 (patch) | |
tree | 99c5ad443f69860833c8ef37e142fddfedb90872 /coreutils | |
parent | 048c93cc5593d53d6243c3e15dc8a5b0072a6083 (diff) |
mostly style fixes
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/who.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |