aboutsummaryrefslogtreecommitdiffstats
path: root/alc/panning.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/panning.cpp')
-rw-r--r--alc/panning.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/panning.cpp b/alc/panning.cpp
index 871fef65..b512a42a 100644
--- a/alc/panning.cpp
+++ b/alc/panning.cpp
@@ -677,7 +677,7 @@ void InitPanning(ALCdevice *device, const bool hqdec=false, const bool stablize=
/* Only enable the stablizer if the decoder does not output to the
* front-center channel.
*/
- const auto cidx = device->RealOut.ChannelIndex[FrontCenter];
+ const size_t cidx{device->RealOut.ChannelIndex[FrontCenter]};
bool hasfc{false};
if(cidx < chancoeffs.size())
{