aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/effects/reverb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/reverb.c b/Alc/effects/reverb.c
index eb9e68ca..a5683767 100644
--- a/Alc/effects/reverb.c
+++ b/Alc/effects/reverb.c
@@ -617,11 +617,11 @@ static ALvoid ALreverbState_process(ALreverbState *State, ALuint SamplesToDo, co
// offset.
static inline ALvoid RealizeLineOffset(ALfloat *sampleBuffer, DelayLine *Delay)
{
- Delay->Line = &sampleBuffer[(ALintptrEXT)Delay->Line];
+ Delay->Line = &sampleBuffer[(ptrdiff_t)Delay->Line];
}
// Calculate the length of a delay line and store its mask and offset.
-static ALuint CalcLineLength(ALfloat length, ALintptrEXT offset, ALuint frequency, DelayLine *Delay)
+static ALuint CalcLineLength(ALfloat length, ptrdiff_t offset, ALuint frequency, DelayLine *Delay)
{
ALuint samples;