satisfy docker build

This commit is contained in:
Jan-Piet Mens 2024-02-05 18:11:05 +01:00
parent 9713094da9
commit ce3bcdb6a2

2
util.c
View File

@ -83,7 +83,7 @@ const char *isolocal(long tst, char *tzname)
} }
strcpy(local, "-"); strcpy(local, "-");
if ((tm = localtime(&tst)) != NULL) { if ((tm = localtime((time_t *)&tst)) != NULL) {
strftime(local, sizeof(local), "%FT%T%z", tm); strftime(local, sizeof(local), "%FT%T%z", tm);
} }