aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-01 08:15:47 -0700
committerChris Robinson <[email protected]>2018-11-01 08:15:47 -0700
commit95966c4d923483da81627abaf2419a48d6dd8bab (patch)
treed9937efbf6963b8d885b58416097b0bdf1506a4d
parent759c3a996cc53be39cb1e57454ff77588b28bdc8 (diff)
Fix another use of auto uniform initialization
-rw-r--r--Alc/backends/pulseaudio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/pulseaudio.cpp b/Alc/backends/pulseaudio.cpp
index 5b75d872..136d7e75 100644
--- a/Alc/backends/pulseaudio.cpp
+++ b/Alc/backends/pulseaudio.cpp
@@ -1817,7 +1817,7 @@ static void ALCpulseBackendFactory_probe(ALCpulseBackendFactory* UNUSED(self), e
{
auto add_device = [outnames](const DevMap &entry) -> void
{
- auto name{entry.name.c_str()};
+ const char *name{entry.name.c_str()};
size_t namelen{entry.name.length()};
/* +1 to also append the null char (to ensure a null-separated list
* and double-null terminated list).