From ce3bcdb6a28cbb741686b746455f9a8bceaa7091 Mon Sep 17 00:00:00 2001 From: Jan-Piet Mens Date: Mon, 5 Feb 2024 18:11:05 +0100 Subject: [PATCH] satisfy docker build --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.c b/util.c index 71d069b..09bb690 100644 --- a/util.c +++ b/util.c @@ -83,7 +83,7 @@ const char *isolocal(long tst, char *tzname) } strcpy(local, "-"); - if ((tm = localtime(&tst)) != NULL) { + if ((tm = localtime((time_t *)&tst)) != NULL) { strftime(local, sizeof(local), "%FT%T%z", tm); }