From 42548885767fa1492886d87d17592e79bc00924e Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 13 Sep 2019 09:38:35 -0700 Subject: Make IrSize unsigned --- alc/panning.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alc/panning.cpp') 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)}; -- cgit v1.2.3