diff options
author | Chris Robinson <[email protected]> | 2014-08-24 23:48:42 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-08-24 23:48:42 -0700 |
commit | 99b71278db582eb5a52995b3994f3b620200c951 (patch) | |
tree | cba719b5a68def9432d5fc0a632f827bec7dcbd6 /Alc | |
parent | a3bba200c09b37235c878e8696dc50112eca95d0 (diff) |
Remove a couple unnecessary typedefs
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/effects/reverb.c | 4 |
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; |