mirror of
https://git.freebsd.org/ports.git
synced 2025-05-27 16:36:28 -04:00
11 lines
373 B
C++
11 lines
373 B
C++
--- sql/locks/shared_spin_lock.cc.orig 2020-12-10 03:01:55 UTC
|
|
+++ sql/locks/shared_spin_lock.cc
|
|
@@ -239,7 +239,7 @@ lock::Shared_spin_lock &lock::Shared_spin_lock::try_or
|
|
{
|
|
this->spin_exclusive_lock();
|
|
}
|
|
- my_atomic_store64(&this->m_exclusive_owner, self);
|
|
+ my_atomic_store64(&this->m_exclusive_owner, reinterpret_cast<int64>(self));
|
|
return (*this);
|
|
}
|
|
|