aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-09-30 16:02:49 -0700
committerChris Robinson <[email protected]>2009-09-30 16:02:49 -0700
commit2a77e840cc54ecb6e8b5171b8c193b7dc88a3213 (patch)
tree6c6fe3532eec5a2dad6900638e4d8de4295c2b4b
parent00272883f64d4fa664e7019f9ce9100a4c474068 (diff)
Fix type casts for 7.1 output
-rw-r--r--Alc/ALu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 7b108cfb..c5d25346 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1336,8 +1336,8 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
((type*)buffer)[4] = (func)(DryBuffer[i][FRONT_CENTER]); \
((type*)buffer)[5] = (func)(DryBuffer[i][LFE]); \
} \
- ((ALubyte*)buffer)[6] = (func)(DryBuffer[i][SIDE_LEFT]); \
- ((ALubyte*)buffer)[7] = (func)(DryBuffer[i][SIDE_RIGHT]); \
+ ((type*)buffer)[6] = (func)(DryBuffer[i][SIDE_LEFT]); \
+ ((type*)buffer)[7] = (func)(DryBuffer[i][SIDE_RIGHT]); \
buffer = ((type*)buffer) + 8; \
} \
break;