summaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-10-04 06:16:16 -0700
committerChris Robinson <[email protected]>2012-10-04 06:16:16 -0700
commitf138774d78c5ae43dd43fdf8e63ae48bafa600fd (patch)
tree2c1c5adbf5f69e30c37d1067a5b5e91cceff96bf /Alc/ALu.c
parent068da3fe83732be5049faea687ed8d109b1eee29 (diff)
Avoid void* arithmetic
Diffstat (limited to 'Alc/ALu.c')
-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;