From 99b71278db582eb5a52995b3994f3b620200c951 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 24 Aug 2014 23:48:42 -0700 Subject: Remove a couple unnecessary typedefs --- Alc/effects/reverb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Alc/effects') 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; -- cgit v1.2.3