summaryrefslogtreecommitdiffstats
path: root/src/Log.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-14 14:11:49 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-14 14:11:49 +0100
commitcd6ab5617cd7b26b13cfe26a950ca17fecefd550 (patch)
treed607161eb1a1c519e519aa1f32ee45dbcc3f587e /src/Log.cpp
parentMerge branch 'master' into warnings (diff)
downloadcuberite-cd6ab5617cd7b26b13cfe26a950ca17fecefd550.tar
cuberite-cd6ab5617cd7b26b13cfe26a950ca17fecefd550.tar.gz
cuberite-cd6ab5617cd7b26b13cfe26a950ca17fecefd550.tar.bz2
cuberite-cd6ab5617cd7b26b13cfe26a950ca17fecefd550.tar.lz
cuberite-cd6ab5617cd7b26b13cfe26a950ca17fecefd550.tar.xz
cuberite-cd6ab5617cd7b26b13cfe26a950ca17fecefd550.tar.zst
cuberite-cd6ab5617cd7b26b13cfe26a950ca17fecefd550.zip
Diffstat (limited to 'src/Log.cpp')
-rw-r--r--src/Log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Log.cpp b/src/Log.cpp
index 395326398..a7be04b1a 100644
--- a/src/Log.cpp
+++ b/src/Log.cpp
@@ -118,7 +118,7 @@ void cLog::Log(const char * a_Format, va_list argList)
AString Line;
#ifdef _DEBUG
- Printf(Line, "[" SIZE_T_FMT_PRECISION(04) "|%02d:%02d:%02d] %s", cIsThread::GetCurrentID(), timeinfo->tm_hour, timeinfo->tm_min, timeinfo->tm_sec, Message.c_str());
+ Printf(Line, "[%04lx|%02d:%02d:%02d] %s", cIsThread::GetCurrentID(), timeinfo->tm_hour, timeinfo->tm_min, timeinfo->tm_sec, Message.c_str());
#else
Printf(Line, "[%02d:%02d:%02d] %s", timeinfo->tm_hour, timeinfo->tm_min, timeinfo->tm_sec, Message.c_str());
#endif