From 2101baf3bbdfbd0c042bad438759d810613f31ed Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Fri, 14 Jan 2022 13:10:58 +0100 Subject: util: parsetime(): fix comment, long long supports atleast 64-bit range --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.c b/util.c index 1fe4cec..7feaf7f 100644 --- a/util.c +++ b/util.c @@ -299,7 +299,7 @@ strtotime(const char *s, time_t *t) if (errno || *s == '\0' || *e) return -1; /* NOTE: assumes time_t is 64-bit on 64-bit platforms: - long long (at least 32-bit) to time_t. */ + long long (at least 64-bit) to time_t. */ if (t) *t = (time_t)l; -- cgit v1.2.3