summaryrefslogtreecommitdiff
path: root/devel/pwlib/files/patch-src-ptlib-unix-tlib-cxx
blob: 1593a1c8b6e2a150ba49eed9acc4c32f30ccbcc9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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);