summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-12-07 17:28:55 +0100
committerMattes D <github@xoft.cz>2014-12-07 17:29:39 +0100
commit77cf65779043312087a7813a7492a71c077555bc (patch)
tree9c666db7e5b500fc4cc2b4fa36965d3578347d85 /src
parentFixed crash on server stop. (diff)
downloadcuberite-77cf65779043312087a7813a7492a71c077555bc.tar
cuberite-77cf65779043312087a7813a7492a71c077555bc.tar.gz
cuberite-77cf65779043312087a7813a7492a71c077555bc.tar.bz2
cuberite-77cf65779043312087a7813a7492a71c077555bc.tar.lz
cuberite-77cf65779043312087a7813a7492a71c077555bc.tar.xz
cuberite-77cf65779043312087a7813a7492a71c077555bc.tar.zst
cuberite-77cf65779043312087a7813a7492a71c077555bc.zip
Diffstat (limited to 'src')
-rw-r--r--src/Logger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Logger.cpp b/src/Logger.cpp
index c4adf4b48..292622a46 100644
--- a/src/Logger.cpp
+++ b/src/Logger.cpp
@@ -45,12 +45,12 @@ void cLogger::LogSimple(AString a_Message, eLogLevel a_LogLevel)
AString Line;
#ifdef _DEBUG
- Printf(Line, "[%04lx|%02d:%02d:%02d] %s\n", std::hash<std::thread::id>()(std::this_thread::get_id()), timeinfo->tm_hour, timeinfo->tm_min, timeinfo->tm_sec, a_Message.c_str());
+ Printf(Line, "[%04llx|%02d:%02d:%02d] %s\n", static_cast<UInt64>(std::hash<std::thread::id>()(std::this_thread::get_id())), timeinfo->tm_hour, timeinfo->tm_min, timeinfo->tm_sec, a_Message.c_str());
#else
Printf(Line, "[%02d:%02d:%02d] %s\n", timeinfo->tm_hour, timeinfo->tm_min, timeinfo->tm_sec, a_Message.c_str());
#endif
-
+
cCSLock Lock(m_CriticalSection);
for (size_t i = 0; i < m_LogListeners.size(); i++)
{