blob: d37d51c9540390e9633bd505a0c5dcba887fde55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-az,v 1.1 2013/05/23 13:12:13 ryoon Exp $
--- nsprpub/pr/src/pthreads/ptthread.c.orig 2013-01-04 23:44:43.000000000 +0000
+++ nsprpub/pr/src/pthreads/ptthread.c
@@ -1043,12 +1043,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
}
|