$NetBSD: patch-ba,v 1.1 2013/11/13 13:27:45 ryoon Exp $ pthread_t may be 64-bit, avoid casting it. --- mozilla/nsprpub/pr/include/private/pprthred.h.orig 2012-08-25 00:31:27.000000000 +0000 +++ mozilla/nsprpub/pr/include/private/pprthred.h @@ -19,6 +19,8 @@ #include #endif +#include + PR_BEGIN_EXTERN_C /*--------------------------------------------------------------------------- @@ -59,7 +61,7 @@ NSPR_API(void) PR_DetachThread(void); ** Get the id of the named thread. Each thread is assigned a unique id ** when it is created or attached. */ -NSPR_API(PRUint32) PR_GetThreadID(PRThread *thread); +NSPR_API(pthread_t) PR_GetThreadID(PRThread *thread); /* ** Set the procedure that is called when a thread is dumped. The procedure