[Sanitizers][darwin] Fix a -Wcast-qual

This commit is contained in:
Jon Roelofs 2021-07-21 11:45:40 -07:00
parent eb26ba9da8
commit 8d65bf13b8
1 changed files with 1 additions and 1 deletions

View File

@ -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() {