diff options
author | Kahrl <kahrl@gmx.net> | 2013-05-19 19:58:01 +0200 |
---|---|---|
committer | Kahrl <kahrl@gmx.net> | 2013-05-19 19:58:01 +0200 |
commit | cc92e45b78dd8955e43b2828eafb4b4e3a0a1b99 (patch) | |
tree | 1ec205b52885bbd222210de83dff54e98c178f10 | |
parent | b2253e5b42aed74365cb6d10b90fea4a30dee5fa (diff) | |
download | minetest-cc92e45b78dd8955e43b2828eafb4b4e3a0a1b99.tar.gz minetest-cc92e45b78dd8955e43b2828eafb4b4e3a0a1b99.tar.bz2 minetest-cc92e45b78dd8955e43b2828eafb4b4e3a0a1b99.zip |
Fix EmergeThread names in log
Concatenate the thread id as string instead of adding it to the pointer
-rw-r--r-- | src/emerge.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emerge.cpp b/src/emerge.cpp index 2d8b01819..b31a942e3 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 |