aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/sdl2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/backends/sdl2.cpp')
-rw-r--r--alc/backends/sdl2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/backends/sdl2.cpp b/alc/backends/sdl2.cpp
index 29d27c05..4b3b5e63 100644
--- a/alc/backends/sdl2.cpp
+++ b/alc/backends/sdl2.cpp
@@ -133,7 +133,7 @@ ALCenum Sdl2Backend::open(const ALCchar *name)
mDevice->FmtChans = DevFmtStereo;
else
{
- ERR("Got unhandled SDL channel count: %d\n", (int)have.channels);
+ ERR("Got unhandled SDL channel count: %d\n", int{have.channels});
return ALC_INVALID_VALUE;
}
switch(have.format)