diff options
author | Chris Robinson <[email protected]> | 2019-06-05 19:26:54 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-06-05 19:26:54 -0700 |
commit | 1ce310c6d1719c6f71664385e136b5510602ac21 (patch) | |
tree | ce414b44426487a02953d88b7f4804d8c5ed376a /Alc/effects/autowah.cpp | |
parent | 410a5ca62129f03ba7cfc091fa63fc451cdfc24f (diff) |
Make some more channel counts unsigned
Diffstat (limited to 'Alc/effects/autowah.cpp')
-rw-r--r-- | Alc/effects/autowah.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/autowah.cpp b/Alc/effects/autowah.cpp index 90531229..ab885460 100644 --- a/Alc/effects/autowah.cpp +++ b/Alc/effects/autowah.cpp @@ -121,7 +121,7 @@ void ALautowahState::update(const ALCcontext *context, const ALeffectslot *slot, mOutBuffer = target.Main->Buffer; mOutChannels = target.Main->NumChannels; - for(ALsizei i{0};i < slot->Wet.NumChannels;++i) + for(ALuint i{0u};i < slot->Wet.NumChannels;++i) { auto coeffs = GetAmbiIdentityRow(i); ComputePanGains(target.Main, coeffs.data(), slot->Params.Gain, mChans[i].TargetGains); |