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 | |
parent | a3bba200c09b37235c878e8696dc50112eca95d0 (diff) |
Remove a couple unnecessary typedefs
-rw-r--r-- | Alc/effects/reverb.c | 4 | ||||
-rw-r--r-- | OpenAL32/Include/alMain.h | 3 |
2 files changed, 2 insertions, 5 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; diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 908815b7..599c30d3 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -263,9 +263,6 @@ ALC_API void ALC_APIENTRY alcGetInteger64vSOFT(ALCdevice *device, ALCenum pname, typedef ALint64SOFT ALint64; typedef ALuint64SOFT ALuint64; -typedef ptrdiff_t ALintptrEXT; -typedef ptrdiff_t ALsizeiptrEXT; - #ifndef U64 #if defined(_MSC_VER) #define U64(x) ((ALuint64)(x##ui64)) |