freebsd-ports/devel/pwlib/files/patch-src-ptlib-unix-tlib-cxx
Rong-En Fan bf1ee3290e - Update to 1.12.0
PR:		ports/119377
Submitted by:	Steve Ames <steve at energistic.com> (maintainer)
2008-03-01 07:24:51 +00:00

11 lines
456 B
Text

--- src/ptlib/unix/tlib.cxx 2007-10-19 02:22:32.000000000 -0400
+++ src/ptlib/unix/tlib.cxx 2008-01-06 21:15:54.000000000 -0500
@@ -642,7 +642,7 @@
{
if (PProcessInstance != NULL) {
PWaitAndSignal m(PProcessInstance->threadMutex);
- PThread & thread = PProcessInstance->activeThreads[(unsigned)id];
+ PThread & thread = PProcessInstance->activeThreads[(uintptr_t)id];
return thread.GetThreadName();
}
return psprintf("%08x", id);