diff --git a/src/log.cpp b/src/log.cpp index a90b7f1e0..89602b422 100644 --- a/src/log.cpp +++ b/src/log.cpp @@ -27,7 +27,7 @@ LogEntry logEntries[TA_LOG_SIZE]; static constexpr unsigned int TA_LOG_MASK=TA_LOG_SIZE-1; -int writeLog(int level, const char* msg, fmt::printf_args& args) { +int writeLog(int level, const char* msg, fmt::printf_args args) { time_t thisMakesNoSense=time(NULL); int pos=logPosition; logPosition=(logPosition+1)&TA_LOG_MASK; diff --git a/src/ta-log.h b/src/ta-log.h index dd26dd94f..6a61fa321 100644 --- a/src/ta-log.h +++ b/src/ta-log.h @@ -49,7 +49,7 @@ struct LogEntry { ready(false) {} }; -int writeLog(int level, const char* msg, fmt::printf_args& args); +int writeLog(int level, const char* msg, fmt::printf_args args); extern LogEntry logEntries[TA_LOG_SIZE];