Update to 2.9
[pkgsrcv2.git] / www / seamonkey / patches / patch-az
1 $NetBSD: patch-az,v 1.3 2012/03/19 10:35:58 ryoon Exp $
2
3 --- mozilla/nsprpub/pr/src/pthreads/ptthread.c.orig     2012-04-23 06:28:14.000000000 +0000
4 +++ mozilla/nsprpub/pr/src/pthreads/ptthread.c
5 @@ -1070,12 +1070,12 @@ PR_IMPLEMENT(void) PR_ProcessExit(PRIntn
6      _exit(status);
7  }
8  
9 -PR_IMPLEMENT(PRUint32) PR_GetThreadID(PRThread *thred)
10 +PR_IMPLEMENT(pthread_t) PR_GetThreadID(PRThread *thred)
11  {
12  #if defined(_PR_DCETHREADS)
13      return (PRUint32)&thred->id;  /* this is really a sham! */
14  #else
15 -    return (PRUint32)thred->id;  /* and I don't know what they will do with it */
16 +    return thred->id;  /* and I don't know what they will do with it */
17  #endif
18  }
19