summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-03-13 06:34:41 -0700
committerChris Robinson <[email protected]>2011-03-13 06:34:41 -0700
commitb699aca65b898c90cf94e5c792f3445513538e10 (patch)
tree938898641590f11c9ad21d9c7afeb97d67cd7ea4
parentffd19fe96101b8a258f30dc6ecab9c633ceb8669 (diff)
Remove unnecessary casts
-rw-r--r--Alc/ALu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index d831e9ca..213916e1 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -747,9 +747,9 @@ static void Write_##T##_##chans(ALCdevice *device, T *buffer, ALuint SamplesToDo
ALfloat samp = 0.0f; \
for(c = 0;c < MAXCHANNELS;c++) \
samp += DryBuffer[i][c] * Matrix[c][chans[j]]; \
- ((T*)buffer)[ChanMap[chans[j]]] = func(samp); \
+ buffer[ChanMap[chans[j]]] = func(samp); \
} \
- buffer = ((T*)buffer) + N; \
+ buffer += N; \
} \
}