diff options
Diffstat (limited to 'Alc/alcReverb.c')
-rw-r--r-- | Alc/alcReverb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/alcReverb.c b/Alc/alcReverb.c index a2b888d9..86eeb71d 100644 --- a/Alc/alcReverb.c +++ b/Alc/alcReverb.c @@ -182,7 +182,7 @@ static const ALfloat LATE_LINE_LENGTH[4] = static const ALfloat LATE_LINE_MULTIPLIER = 4.0f; // Calculate the length of a delay line and store its mask and offset. -static ALuint CalcLineLength(ALfloat length, ALuint offset, ALuint frequency, DelayLine *Delay) +static ALuint CalcLineLength(ALfloat length, ALintptrEXT offset, ALuint frequency, DelayLine *Delay) { ALuint samples; @@ -200,7 +200,7 @@ static ALuint CalcLineLength(ALfloat length, ALuint offset, ALuint frequency, De // offset. static __inline ALvoid RealizeLineOffset(ALfloat * sampleBuffer, DelayLine *Delay) { - Delay->Line = &sampleBuffer[(ALuint)Delay->Line]; + Delay->Line = &sampleBuffer[(ALintptrEXT)Delay->Line]; } /* Calculates the delay line metrics and allocates the shared sample buffer |