summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/LoggerListeners.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LoggerListeners.cpp b/src/LoggerListeners.cpp
index 2e7c5f5bd..91964c57e 100644
--- a/src/LoggerListeners.cpp
+++ b/src/LoggerListeners.cpp
@@ -301,8 +301,8 @@ cFileListener::cFileListener(void)
cFile::CreateFolder(FILE_IO_PREFIX + AString("logs"));
m_File.Open(
FILE_IO_PREFIX + Printf(
- "logs/LOG_%lld.txt",
- std::chrono::duration_cast<std::chrono::seconds>(
+ "logs/LOG_%d.txt",
+ std::chrono::duration_cast<std::chrono::duration<int, std::ratio<1>>>(
std::chrono::system_clock::now().time_since_epoch()
).count()
),