mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1130142, part 4 - Use reinterpret_cast for PR_SetThreadPrivate. r=froydnj
This commit is contained in:
parent
1ce8ecd2ab
commit
9b5e0d5989
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user