aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alc.cpp
diff options
context:
space:
mode:
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);