diff options
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 7566bfd..4cd4265 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; |