From dfb163546bdc8206d4757e848588b7e53424327b Mon Sep 17 00:00:00 2001 From: Elad Ashkenazi Date: Sat, 30 Dec 2023 23:33:57 +0200 Subject: [PATCH] HOTFIX for atomic wait --- rpcs3/util/atomic.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/util/atomic.hpp b/rpcs3/util/atomic.hpp index 0da0dcb8ae..e843b1119f 100644 --- a/rpcs3/util/atomic.hpp +++ b/rpcs3/util/atomic.hpp @@ -1694,7 +1694,7 @@ public: atomic_wait::info ext[2]{}; ext[0].data = reinterpret_cast(&m_data) + 4; ext[0].old = std::bit_cast(old_value) >> 32; - atomic_wait_engine::wait(&m_data, ::narrow(std::bit_cast(old_value)), static_cast(timeout), ext); + atomic_wait_engine::wait(&m_data, static_cast(std::bit_cast(old_value)), static_cast(timeout), ext); } void notify_one()