From: Kahrl Date: Sun, 19 May 2013 17:58:01 +0000 (+0200) Subject: Fix EmergeThread names in log X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=cc92e45b78dd8955e43b2828eafb4b4e3a0a1b99;p=zefram%2Fminetest%2Fminetest_engine.git Fix EmergeThread names in log Concatenate the thread id as string instead of adding it to the pointer --- diff --git a/src/emerge.cpp b/src/emerge.cpp index 2d8b0181..b31a942e 100644 --- a/src/emerge.cpp +++ b/src/emerge.cpp @@ -349,7 +349,7 @@ bool EmergeThread::getBlockOrStartGen(v3s16 p, MapBlock **b, void *EmergeThread::Thread() { ThreadStarted(); - log_register_thread("EmergeThread" + id); + log_register_thread("EmergeThread" + itos(id)); DSTACK(__FUNCTION_NAME); BEGIN_DEBUG_EXCEPTION_HANDLER