Index: nss/mozilla/nsprpub/pr/src/threads/prtpd.c |
=================================================================== |
--- nss/mozilla/nsprpub/pr/src/threads/prtpd.c (revision 55475) |
+++ nss/mozilla/nsprpub/pr/src/threads/prtpd.c (working copy) |
@@ -137,7 +137,7 @@ |
PR_ASSERT(NULL != newIndex); |
PR_ASSERT(NULL != _pr_tpd_destructors); |
- index = PR_AtomicIncrement(&_pr_tpd_highwater) - 1; /* allocate index */ |
+ index = PR_ATOMIC_INCREMENT(&_pr_tpd_highwater) - 1; /* allocate index */ |
if (_PR_TPD_LIMIT <= index) |
{ |
PR_SetError(PR_TPD_RANGE_ERROR, 0); |