aboutsummaryrefslogtreecommitdiffstats
path: root/src/AudioConfig.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-15 22:32:39 +0200
committerMax Kellermann <max@duempel.org>2013-10-15 22:49:01 +0200
commit7de96275dd6e3b6997e799413e4537561041e199 (patch)
tree4eab0c018168c14eb22f9e086917d16ef3f8f6a8 /src/AudioConfig.cxx
parente13d0bf65653550c4cfe3f879441139f5242d8b1 (diff)
downloadmpd-7de96275dd6e3b6997e799413e4537561041e199.tar.gz
mpd-7de96275dd6e3b6997e799413e4537561041e199.tar.xz
mpd-7de96275dd6e3b6997e799413e4537561041e199.zip
ConfigData: use std::string for config_param::value
Diffstat (limited to 'src/AudioConfig.cxx')
-rw-r--r--src/AudioConfig.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AudioConfig.cxx b/src/AudioConfig.cxx
index aa09c374f..3d6337991 100644
--- a/src/AudioConfig.cxx
+++ b/src/AudioConfig.cxx
@@ -45,7 +45,7 @@ void initAudioConfig(void)
return;
Error error;
- if (!audio_format_parse(configured_audio_format, param->value,
+ if (!audio_format_parse(configured_audio_format, param->value.c_str(),
true, error))
FormatFatalError("error parsing line %i: %s",
param->line, error.GetMessage());