Files
pkgsrc-ng/mail/thunderbird/patches/patch-az
T
2013-09-26 17:14:40 +02:00

20 lines
667 B
Plaintext

$NetBSD: patch-az,v 1.5 2012/09/02 06:43:40 ryoon Exp $
--- mozilla/nsprpub/pr/src/pthreads/ptthread.c.orig 2012-08-25 00:31:27.000000000 +0000
+++ mozilla/nsprpub/pr/src/pthreads/ptthread.c
@@ -1038,12 +1038,12 @@ PR_IMPLEMENT(void) PR_ProcessExit(PRIntn
_exit(status);
}
-PR_IMPLEMENT(PRUint32) PR_GetThreadID(PRThread *thred)
+PR_IMPLEMENT(pthread_t) PR_GetThreadID(PRThread *thred)
{
#if defined(_PR_DCETHREADS)
return (PRUint32)&thred->id; /* this is really a sham! */
#else
- return (PRUint32)thred->id; /* and I don't know what they will do with it */
+ return thred->id; /* and I don't know what they will do with it */
#endif
}