From 7bbdd369412d99af8f32c81168c53c6abb3e2aad Mon Sep 17 00:00:00 2001 From: backwardsEric Date: Wed, 11 Sep 2019 11:24:46 -0700 Subject: [PATCH] time() takes a time_t* as the argument so change the cast of 0 to a time_t*. Avoids a compiler warning with Apple's cc version 10.0.1. --- src/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/files.c b/src/files.c index cac33f37..ab4a28ad 100644 --- a/src/files.c +++ b/src/files.c @@ -6226,7 +6226,7 @@ void print_tomb(void) char dummy[80]; char *t; FILE *fp; - time_t ct = time((time_t)0); + time_t ct = time((time_t*)0); #ifdef JP int extra_line = 0; #endif -- 2.20.1 (Apple Git-117)