* src/uptime.c (print_uptime): Add a timezone_t cast to zero. Don't use
nullptr since timezone_t is not a standardized and may be defined to
something other than a pointer.
---
src/uptime.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/uptime.c b/src/uptime.c
index 4e07f1cb8..37d3206f9 100644
--- a/src/uptime.c
+++ b/src/uptime.c
@@ -66,7 +66,7 @@ print_uptime (idx_t n, STRUCT_UTMP const *utmp_buf)
previous versions of coreutils don't. */
if (tmn)
/* TRANSLATORS: This prints the current clock time. */
- fprintftime (stdout, _(" %H:%M:%S "), tmn, 0, 0);
+ fprintftime (stdout, _(" %H:%M:%S "), tmn, (timezone_t) 0, 0);
else
{
printf (_(" ??:???? "));
--
2.52.0