diff options
-rw-r--r-- | Alc/mastering.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/mastering.c b/Alc/mastering.c index 52ff5b23..b0b94eea 100644 --- a/Alc/mastering.c +++ b/Alc/mastering.c @@ -466,11 +466,11 @@ Compressor* CompressorInit(const ALsizei NumChans, const ALuint SampleRate, Comp->Hold->Values[0] = -INFINITY; Comp->Hold->Expiries[0] = hold; Comp->Hold->Length = hold; - Comp->Delay = (ALfloat(*)[])(Comp->Hold + 1); + Comp->Delay = (ALfloat(*)[BUFFERSIZE])(Comp->Hold + 1); } else { - Comp->Delay = (ALfloat(*)[])(Comp + 1); + Comp->Delay = (ALfloat(*)[BUFFERSIZE])(Comp + 1); } } |