From e3637b8452e432a321decb33c2ca5a0de033f159 Mon Sep 17 00:00:00 2001 From: Alam Arias Date: Thu, 18 Mar 2010 17:17:51 -0400 Subject: use ALintptrEXT in alcReverb.c --- Alc/alcReverb.c | 4 ++-- 1 file 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 -- cgit v1.2.3