summaryrefslogtreecommitdiffstats
path: root/src/Log.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-11 21:51:56 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-11 21:51:56 +0100
commita19f5fc484648d226899667410aeb82de354c714 (patch)
treebf88681c224207a25eaf7b90adcb479b05c3fff4 /src/Log.cpp
parentFixed format errors in protocol (diff)
downloadcuberite-a19f5fc484648d226899667410aeb82de354c714.tar
cuberite-a19f5fc484648d226899667410aeb82de354c714.tar.gz
cuberite-a19f5fc484648d226899667410aeb82de354c714.tar.bz2
cuberite-a19f5fc484648d226899667410aeb82de354c714.tar.lz
cuberite-a19f5fc484648d226899667410aeb82de354c714.tar.xz
cuberite-a19f5fc484648d226899667410aeb82de354c714.tar.zst
cuberite-a19f5fc484648d226899667410aeb82de354c714.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 1ea327d5d..54e2b7812 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, "[%04x|%02d:%02d:%02d] %s", cIsThread::GetCurrentID(), timeinfo->tm_hour, timeinfo->tm_min, timeinfo->tm_sec, Message.c_str());
+ Printf(Line, "[%04zu|%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