aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/ALu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 5cdbb654..6d75e20e 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1077,7 +1077,7 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
break;
}
- buffer += bytes;
+ buffer = (ALubyte*)buffer + bytes;
}
size -= SamplesToDo;