ports/devel/ptlib/files/patch-src__ptlib__unix__tlib.cxx
Gabor Kovesdan 38642b095a PWLib is a multi-platform code library that can be used to write
applications that will compile and run on the BSD Unixes, Windows, Linux
and a few other Unix variants. It was developed by Equivalence Ltd Pty.

It is used by the OpenH323 library.

WWW: http://www.openh323.org/

PR:		ports/131129
Submitted by:	"Eric L. Chen" <d9364104@mail.nchu.edu.tw>
2009-02-21 19:01:07 +00:00

11 lines
469 B
C++

--- ./src/ptlib/unix/tlib.cxx.orig 2009-02-14 22:02:51.000000000 +0100
+++ ./src/ptlib/unix/tlib.cxx 2009-02-14 22:03:09.000000000 +0100
@@ -400,7 +400,7 @@
{
if (PProcessInstance != NULL) {
PWaitAndSignal m(PProcessInstance->threadMutex);
- PThread & thread = PProcessInstance->activeThreads[(unsigned)id];
+ PThread & thread = PProcessInstance->activeThreads[(unsigned long)id];
return thread.GetThreadName();
}
return psprintf("%08x", id);