From 1adc7753be533be5ef9bd1de52f90cf9c338a220 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Mon, 11 Apr 2022 13:08:12 -0500 Subject: [PATCH] second attempt --- src/log.cpp | 2 +- src/ta-log.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/log.cpp b/src/log.cpp index a90b7f1e..89602b42 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 dd26dd94..6a61fa32 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];