From 3d9d5509c90524256861dd7cf0b7c0c6fdf5424a Mon Sep 17 00:00:00 2001
From: Ed Maste <emaste@freebsd.org>
Date: Wed, 10 Oct 2018 12:56:26 -0400
Subject: [PATCH] Correct argument type passed to time()

---
 conserver/readcfg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conserver/readcfg.c b/conserver/readcfg.c
index 949b9bf..d5bb90a 100644
--- a/conserver/readcfg.c
+++ b/conserver/readcfg.c
@@ -3116,7 +3116,7 @@ ConsoleAdd(CONSENT *c)
 	pCEmatch->logfilemax = c->logfilemax;
 	if (pCEmatch->logfilemax != (off_t) 0 &&
 	    timers[T_ROLL] == (time_t)0)
-	    timers[T_ROLL] = time((time_t)0);
+	    timers[T_ROLL] = time((time_t *)0);
 
 	SwapStr(&pCEmatch->motd, &c->motd);
 	SwapStr(&pCEmatch->idlestring, &c->idlestring);
