From 170aaed31149dd5cc96f5d263da59bff953058db Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Fri, 29 May 2020 00:44:16 +0200 Subject: [PATCH] =?UTF-8?q?-=20scan-setup:=20fix=20compiler=20warning=20(I?= =?UTF-8?q?SO=20C++=20forbids=20converting=20a=20string=20constant=20to=20?= =?UTF-8?q?=E2=80=98char*=E2=80=99)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Thilo Graf --- src/gui/scan_setup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/scan_setup.cpp b/src/gui/scan_setup.cpp index 0e3bf2292..827a702c8 100644 --- a/src/gui/scan_setup.cpp +++ b/src/gui/scan_setup.cpp @@ -72,7 +72,7 @@ extern char zapit_long[21]; //sat_iterator_t sit; #if BOXMODEL_VUPLUS -static char * tuner_desc[24] = { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X" }; +static const char * tuner_desc[24] = { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X" }; #endif #define SCANTS_BOUQUET_OPTION_COUNT 3