aboutsummaryrefslogtreecommitdiffstats
path: root/alc/panning.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-09-13 09:38:35 -0700
committerChris Robinson <[email protected]>2019-09-13 09:38:35 -0700
commit42548885767fa1492886d87d17592e79bc00924e (patch)
tree0d542f58193290fed38d01bb64f721fdfb9d5b9f /alc/panning.cpp
parentdf306b55245de7a281d695046e74717e4cdd511f (diff)
Make IrSize unsigned
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 31daf455..b5394cbc 100644
--- a/alc/panning.cpp
+++ b/alc/panning.cpp
@@ -219,7 +219,7 @@ bool MakeSpeakerMap(ALCdevice *device, const AmbDecConf *conf, ALuint (&speakerm
else
{
ERR("AmbDec speaker label \"%s\" not recognized\n", name);
- return -1;
+ return INVALID_CHANNEL_INDEX;
}
}
const ALuint chidx{GetChannelIdxByName(device->RealOut, ch)};