From 4330a8b5c05e66a8fd5773088045873706293fce Mon Sep 17 00:00:00 2001 From: Ed Maste 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);