From 617290ccc1b26182938290c297362d066ca74f18 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 30 Sep 2015 20:45:20 +0200 Subject: Fix compilation with --enable-input-test --- src/ConfigParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp index 7803ad5..fd0020e 100644 --- a/src/ConfigParser.cpp +++ b/src/ConfigParser.cpp @@ -778,7 +778,7 @@ void setup_subchannel_from_ptree(dabSubchannel* subchan, subchan->bitrate = DEFAULT_DATA_BITRATE; #if defined(HAVE_INPUT_TEST) && defined(HAVE_FORMAT_RAW) } else if (type == "test") { - subchan->type = DataDmb; + subchan->type = subchannel_type_t::DataDmb; subchan->bitrate = DEFAULT_DATA_BITRATE; operations = dabInputTestOperations; #endif // defined(HAVE_INPUT_TEST)) && defined(HAVE_FORMAT_RAW) -- cgit v1.2.3