summaryrefslogtreecommitdiffstats
path: root/listen/listen.c
diff options
context:
space:
mode:
Diffstat (limited to 'listen/listen.c')
-rw-r--r--listen/listen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/listen/listen.c b/listen/listen.c
index 6504ed5..29fa53f 100644
--- a/listen/listen.c
+++ b/listen/listen.c
@@ -61,7 +61,7 @@ static char * ts_format(unsigned int sec, unsigned int usec)
* value range of all variables thus avoid bogus warnings. For any
* halfway modern GCC the checks will be optimized away.
*/
- if (hours >= 60)
+ if (hours >= 24)
unreachable();
if (minutes >= 60)
unreachable();