mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-04 21:34:47 +01:00
Common: Warning fixes for clang-cl
This commit is contained in:
1 parent
5c95a6f4fa
commit
ca92d4ea3d
17 files changed
+68
-21
No files matched your search
@@ -187,7 +187,7 @@ static bool VMMMarkPagesAsInUse(std::atomic<bool>* begin, std::atomic<bool>* end
|
||||
for (auto current = begin; current < end; current++)
|
||||
{
|
||||
bool expected = false;
|
||||
if (!current->compare_exchange_strong(expected, true), std::memory_order_relaxed)
|
||||
if (!current->compare_exchange_strong(expected, true, std::memory_order_relaxed))
|
||||
{
|
||||
// This was already allocated! Undo the things we've set until this point
|
||||
while (--current >= begin)
|
||||
|
||||
Reference in new issue
Block a user