forked from OSchip/llvm-project
[Sanitizers][darwin] Fix a -Wcast-qual
This commit is contained in:
parent
eb26ba9da8
commit
8d65bf13b8
|
@ -532,7 +532,7 @@ void BlockingMutex::Unlock() {
|
|||
}
|
||||
|
||||
void BlockingMutex::CheckLocked() const {
|
||||
CHECK_NE(*(OSSpinLock*)&opaque_storage_, 0);
|
||||
CHECK_NE(*(const OSSpinLock*)&opaque_storage_, 0);
|
||||
}
|
||||
|
||||
u64 NanoTime() {
|
||||
|
|
Loading…
Reference in New Issue