aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-17 07:40:10 -0800
committerChris Robinson <[email protected]>2018-11-17 07:40:10 -0800
commitff4219e54e2a444f0ccf4033091931d2908af91e (patch)
tree5673ab0877edd6667da1900e5f59582ec0220ec6 /Alc
parent6e6a0240580c3a474a199be45ba0748add860d3b (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;