aboutsummaryrefslogtreecommitdiffstats
path: root/al/effect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'al/effect.cpp')
-rw-r--r--al/effect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/al/effect.cpp b/al/effect.cpp
index c27fc8df..0bef3ce6 100644
--- a/al/effect.cpp
+++ b/al/effect.cpp
@@ -141,7 +141,7 @@ bool EnsureEffects(ALCdevice *device, size_t needed)
{
size_t count{std::accumulate(device->EffectList.cbegin(), device->EffectList.cend(), size_t{0},
[](size_t cur, const EffectSubList &sublist) noexcept -> size_t
- { return cur + static_cast<ALuint>(POPCNT64(~sublist.FreeMask)); }
+ { return cur + static_cast<ALuint>(POPCNT64(sublist.FreeMask)); }
)};
while(needed > count)