$NetBSD: patch-ba,v 1.4 2024/10/22 12:52:02 ryoon Exp $ pthread_t may be 64-bit, avoid casting it. https://bugzilla.mozilla.org/show_bug.cgi?id=1718835 --- nspr/pr/include/private/pprthred.h.orig 2024-10-21 11:31:57.000000000 +0000 +++ nspr/pr/include/private/pprthred.h @@ -12,6 +12,8 @@ */ #include "nspr.h" +#include + PR_BEGIN_EXTERN_C /*--------------------------------------------------------------------------- @@ -52,7 +54,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