Fix "long int format, pthread_t arg" warning.

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@186 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Maxim Sobolev 20 years ago
parent 58f33c8556
commit 4812501750

@ -141,7 +141,7 @@ void AmThread::stop()
// gives the thread a chance to clean up
DBG("Thread %ld (%ld) calling on_stop, give it a chance to clean up.\n",
(unsigned long int) _pid, _td);
(unsigned long int) _pid, (unsigned long int) _td);
try { on_stop(); } catch(...) {}
@ -156,7 +156,7 @@ void AmThread::stop()
}
}
DBG("Thread %ld (%ld) finished detach.\n", (unsigned long int) _pid, _td);
DBG("Thread %ld (%ld) finished detach.\n", (unsigned long int) _pid, (unsigned long int) _td);
//pthread_cancel(_td);

Loading…
Cancel
Save