From cc92e45b78dd8955e43b2828eafb4b4e3a0a1b99 Mon Sep 17 00:00:00 2001 From: Kahrl Date: Sun, 19 May 2013 19:58:01 +0200 Subject: [PATCH] Fix EmergeThread names in log Concatenate the thread id as string instead of adding it to the pointer --- src/emerge.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2