aboutsummaryrefslogtreecommitdiff
path: root/devel/ptlib26/files/patch-src__ptlib__unix__tlib.cxx
blob: c0f11e3062ac78b321d58d9fe756c5f5ee24978c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ./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);