aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/mastering.cpp (renamed from Alc/mastering.c)2
-rw-r--r--CMakeLists.txt2
2 files changed, 2 insertions, 2 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;
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 917ec303..84a99d2e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -804,7 +804,7 @@ SET(ALC_OBJS
Alc/converter.h
Alc/inldefs.c
Alc/inprogext.h
- Alc/mastering.c
+ Alc/mastering.cpp
Alc/mastering.h
Alc/ringbuffer.c
Alc/ringbuffer.h