commit 2101baf3bbdfbd0c042bad438759d810613f31ed
parent 20686256dbc94fd693607abd5165ecc9901dd1e3
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 14 Jan 2022 13:10:58 +0100
util: parsetime(): fix comment, long long supports atleast 64-bit range
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;