aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-05-02 15:04:35 -0700
committerChris Robinson <[email protected]>2011-05-02 15:04:35 -0700
commitfd795a7eebf3259c01e409495b61487a4e706b88 (patch)
tree38b8388e21414fc887d98d3c0e35369d309957ce /Alc
parentabdc254e550b68d20d2bca26886d6edf5beea59a (diff)
Add casts to silence some warnings
Diffstat (limited to 'Alc')
-rw-r--r--Alc/mixer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c
index ae7ba237..f3647e36 100644
--- a/Alc/mixer.c
+++ b/Alc/mixer.c
@@ -94,7 +94,7 @@ void Mix_Hrtf_##T##_1_##sampler(ALsource *Source, ALCdevice *Device, \
PendingClicks = Device->PendingClicks; \
DryFilter = &Source->Params.iirFilter; \
\
- HrtfCoeffs = Source->Params.HrtfCoeffs[0]; \
+ HrtfCoeffs = (const ALfloat(*)[2])Source->Params.HrtfCoeffs[0]; \
HrtfHistory = Source->HrtfHistory[0]; \
HrtfOffset = Source->HrtfOffset + OutPos; \
\
@@ -255,7 +255,7 @@ static void Mix_Hrtf_##T##_##chnct##_##sampler( \
PendingClicks = Device->PendingClicks; \
DryFilter = &Source->Params.iirFilter; \
\
- HrtfCoeffs = &Source->Params.HrtfCoeffs[0]; \
+ HrtfCoeffs = (const ALfloat(*)[HRTF_LENGTH][2])Source->Params.HrtfCoeffs; \
HrtfHistory = Source->HrtfHistory; \
HrtfOffset = Source->HrtfOffset + OutPos; \
\