diff options
author | Chris Robinson <[email protected]> | 2018-11-17 07:40:10 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-17 07:40:10 -0800 |
commit | ff4219e54e2a444f0ccf4033091931d2908af91e (patch) | |
tree | 5673ab0877edd6667da1900e5f59582ec0220ec6 /Alc | |
parent | 6e6a0240580c3a474a199be45ba0748add860d3b (diff) |
Convert mastering.c to C++
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/mastering.cpp (renamed from Alc/mastering.c) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mastering.c b/Alc/mastering.cpp index 5ccf3a9e..001aada1 100644 --- a/Alc/mastering.c +++ b/Alc/mastering.cpp @@ -447,7 +447,7 @@ Compressor* CompressorInit(const ALsizei NumChans, const ALuint SampleRate, size += sizeof(*Comp->Hold); } - Comp = al_calloc(16, size); + Comp = static_cast<Compressor*>(al_calloc(16, size)); Comp->NumChans = NumChans; Comp->SampleRate = SampleRate; Comp->Auto.Knee = AutoKnee; |