summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2022-01-14 13:10:58 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2022-01-14 13:10:58 +0100
commit2101baf3bbdfbd0c042bad438759d810613f31ed (patch)
tree355cfab4bfdb9b46e62f974c58a9be66ccd759f3
parent20686256dbc94fd693607abd5165ecc9901dd1e3 (diff)
util: parsetime(): fix comment, long long supports atleast 64-bit range
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
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;