mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
atomic.hpp: Truncation warning fix
This commit is contained in:
parent
befd7ceb89
commit
6211295155
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ public:
|
|||
template <uint Max, typename... T>
|
||||
void atomic_wait::list<Max, T...>::wait(atomic_wait_timeout timeout)
|
||||
{
|
||||
static_assert(Max, "Cannot initiate atomic wait with empty list.");
|
||||
static_assert(!!Max, "Cannot initiate atomic wait with empty list.");
|
||||
|
||||
atomic_wait_engine::wait(m_info[0].data, m_info[0].size, m_info[0].old, static_cast<u64>(timeout), m_info[0].mask, m_info + 1);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue