aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_output.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/run_output.cxx')
-rw-r--r--test/run_output.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/run_output.cxx b/test/run_output.cxx
index d013a9d54..88d9491dd 100644
--- a/test/run_output.cxx
+++ b/test/run_output.cxx
@@ -61,8 +61,8 @@ PlayerControl::~PlayerControl() {}
static AudioOutput *
load_audio_output(EventLoop &event_loop, const char *name)
{
- const config_param *param =
- config_find_block(ConfigOption::AUDIO_OUTPUT, "name", name);
+ const auto *param = config_find_block(ConfigBlockOption::AUDIO_OUTPUT,
+ "name", name);
if (param == NULL) {
fprintf(stderr, "No such configured audio output: %s\n", name);
return nullptr;