diff options
author | Chris Robinson <[email protected]> | 2009-09-30 16:02:49 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-09-30 16:02:49 -0700 |
commit | 2a77e840cc54ecb6e8b5171b8c193b7dc88a3213 (patch) | |
tree | 6c6fe3532eec5a2dad6900638e4d8de4295c2b4b | |
parent | 00272883f64d4fa664e7019f9ce9100a4c474068 (diff) |
Fix type casts for 7.1 output
-rw-r--r-- | Alc/ALu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |