Bug 1130142, part 4 - Use reinterpret_cast for PR_SetThreadPrivate. r=froydnj

This commit is contained in:
Andrew McCreight 2015-02-20 09:38:47 -08:00
parent 1ce8ecd2ab
commit 9b5e0d5989

View File

@ -1381,6 +1381,6 @@ nsTraceRefcnt::SetActivityIsLegal(bool aLegal)
PR_NewThreadPrivateIndex(&gActivityTLS, nullptr);
}
PR_SetThreadPrivate(gActivityTLS, NS_INT32_TO_PTR(!aLegal));
PR_SetThreadPrivate(gActivityTLS, reinterpret_cast<void*>(!aLegal));
#endif
}