diff options
author | Alam Arias <[email protected]> | 2010-03-18 17:17:51 -0400 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-03-18 16:32:49 -0700 |
commit | e3637b8452e432a321decb33c2ca5a0de033f159 (patch) | |
tree | 3c66143d3aa6d90e549bc2d75630e198fa7213af /Alc/alcReverb.c | |
parent | 745d36dc761abb84118b26b8953299d5cdc94b2c (diff) |
use ALintptrEXT in alcReverb.c
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 |