aboutsummaryrefslogtreecommitdiffstats
path: root/alc/mixvoice.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-08-03 13:05:42 -0700
committerChris Robinson <[email protected]>2019-08-03 13:05:42 -0700
commit13222d719d7a38b46cf0b02771acffea5d569d46 (patch)
tree89b2fcdef867c1872acdf8b0058b63d448323dd1 /alc/mixvoice.cpp
parent341743680415c4b3339d36fc4e67ab8a605a06ea (diff)
Make a couple counts size_t
Diffstat (limited to 'alc/mixvoice.cpp')
-rw-r--r--alc/mixvoice.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/alc/mixvoice.cpp b/alc/mixvoice.cpp
index b1d7500a..06324397 100644
--- a/alc/mixvoice.cpp
+++ b/alc/mixvoice.cpp
@@ -624,6 +624,7 @@ void MixVoice(ALvoice *voice, ALvoice::State vstate, const ALuint SourceID, ALCc
DstBufferSize &= ~3;
}
+ ASSUME(DstBufferSize > 0);
for(ALsizei chan{0};chan < NumChannels;chan++)
{
ALvoice::ChannelData &chandata = voice->mChans[chan];