aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 781a986e..af7ca616 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1302,7 +1302,7 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
{
#define WRITE(T, a, b, c, d) do { \
Write_##T((a), (b), (c), (d)); \
- buffer = (char*)buffer + (c)*(d)*sizeof(T); \
+ buffer = (T*)buffer + (c)*(d); \
} while(0)
switch(device->FmtType)
{