summaryrefslogtreecommitdiffstats
path: root/src/Log.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-12 18:34:50 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-12 18:34:50 +0100
commit862e2194433b5d47aaf88261091b35a1ee663482 (patch)
tree0193a728a38fd760b40d186d45c283ac2685e7ea /src/Log.cpp
parentMerge branch 'Werror' into warnings (diff)
downloadcuberite-862e2194433b5d47aaf88261091b35a1ee663482.tar
cuberite-862e2194433b5d47aaf88261091b35a1ee663482.tar.gz
cuberite-862e2194433b5d47aaf88261091b35a1ee663482.tar.bz2
cuberite-862e2194433b5d47aaf88261091b35a1ee663482.tar.lz
cuberite-862e2194433b5d47aaf88261091b35a1ee663482.tar.xz
cuberite-862e2194433b5d47aaf88261091b35a1ee663482.tar.zst
cuberite-862e2194433b5d47aaf88261091b35a1ee663482.zip
Diffstat (limited to '')
-rw-r--r--src/Log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Log.cpp b/src/Log.cpp
index 54e2b7812..395326398 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, "[%04zu|%02d:%02d:%02d] %s", cIsThread::GetCurrentID(), timeinfo->tm_hour, timeinfo->tm_min, timeinfo->tm_sec, Message.c_str());
+ 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());
#else
Printf(Line, "[%02d:%02d:%02d] %s", timeinfo->tm_hour, timeinfo->tm_min, timeinfo->tm_sec, Message.c_str());
#endif