summaryrefslogtreecommitdiff
path: root/src/chatlogger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/chatlogger.cpp')
-rw-r--r--src/chatlogger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chatlogger.cpp b/src/chatlogger.cpp
index 4b26db452..76e765692 100644
--- a/src/chatlogger.cpp
+++ b/src/chatlogger.cpp
@@ -129,7 +129,7 @@ std::string ChatLogger::getDir() const
char buffer [81];
time(&rawtime);
- struct tm *const timeinfo = localtime(&rawtime);
+ tm *const timeinfo = localtime(&rawtime);
strftime(buffer, 79, "%Y-%m/%d", timeinfo);