Fix warnings

This commit is contained in:
Vladimir Dubrovin committed 2026-08-08 21:58:53 +03:00
1 parent e7bc76da73
commit aea9ff8c94
3 files changed
+16 -12

No files matched your search

+1 -1
View File
@@ -298,7 +298,7 @@ void cyclestep(void){
default:
break;
}
dologname (tmpbuf, conf.logname, (conf.archiver)?conf.archiver[1]:NULL, conf.logtype, (conf.logtime - t * conf.rotate));
dologname (tmpbuf, conf.logname, (conf.archiver)?conf.archiver[1]:NULL, conf.logtype, (conf.logtime - (time_t)t * conf.rotate));
remove ((char *) tmpbuf);
if(conf.archiver) {
int i;