From 7de96275dd6e3b6997e799413e4537561041e199 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 15 Oct 2013 22:32:39 +0200 Subject: ConfigData: use std::string for config_param::value --- src/AudioConfig.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/AudioConfig.cxx') 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()); -- cgit v1.2.3