summaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2007-12-06 22:49:23 -0800
committerChris Robinson <[email protected]>2007-12-06 22:49:23 -0800
commit18f05cc1d129c572c05e1c7633f43f9125a6cd0b (patch)
treee1a7e34d40f5b257e91bb82eba11d098eb486151 /Alc/ALu.c
parentd608df5b22f74af0c73d69bf6049bc0d729d8c5a (diff)
Prevent some ICC warnings
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index cee00dd0..0821d6b4 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -407,8 +407,8 @@ ALvoid aluMixData(ALCcontext *ALContext,ALvoid *buffer,ALsizei size,ALenum forma
if(buffer)
{
//Figure output format variables
- BlockAlign = aluChannelsFromFormat(format) *
- aluBytesFromFormat(format);
+ BlockAlign = aluChannelsFromFormat(format);
+ BlockAlign *= aluBytesFromFormat(format);
size /= BlockAlign;
while(size > 0)