Fix EmergeThread names in log

Concatenate the thread id as string instead of adding it to the pointer
master
Kahrl 2013-05-19 19:58:01 +02:00
parent b2253e5b42
commit cc92e45b78
1 changed files with 1 additions and 1 deletions

View File

@ -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