aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alc.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-06-05 18:54:17 -0700
committerChris Robinson <[email protected]>2019-06-05 18:54:17 -0700
commit410a5ca62129f03ba7cfc091fa63fc451cdfc24f (patch)
tree6f14211e49659360cae962653eb78a739ec9c9c6 /Alc/alc.cpp
parent5f26205f8fb504c5f6fec3e2b02f0009a4f24be2 (diff)
Make RealMixParams channel count unsigned
Diffstat (limited to 'Alc/alc.cpp')
-rw-r--r--Alc/alc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/alc.cpp b/Alc/alc.cpp
index b7be4f7b..010ea5f9 100644
--- a/Alc/alc.cpp
+++ b/Alc/alc.cpp
@@ -1931,9 +1931,9 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList)
device->RealOut.NumChannels);
/* Allocate extra channels for any post-filter output. */
- const ALsizei num_chans{device->Dry.NumChannels + device->RealOut.NumChannels};
+ const ALuint num_chans{device->Dry.NumChannels + device->RealOut.NumChannels};
- TRACE("Allocating %d channels, %zu bytes\n", num_chans,
+ TRACE("Allocating %u channels, %zu bytes\n", num_chans,
num_chans*sizeof(device->MixBuffer[0]));
device->MixBuffer.resize(num_chans);