frontend: use const char pointers in getDelSys()

this avoids a lot of ugly casts, and the pointer targets were
const char* anyway


Origin commit data
------------------
Branch: ni/coolstream
Commit: cc24b2cf65
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-09 (Mon, 09 Feb 2015)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2015-02-09 20:30:06 +01:00
parent ff703b2915
commit 7b52e64295
4 changed files with 41 additions and 41 deletions

View File

@@ -124,7 +124,7 @@ void CScanTs::testFunc()
{
int w = x + width - xpos2;
char buffer[128];
char *f, *s, *m, *f2;
const char *f, *s, *m, *f2;
if (CFrontend::isSat(delsys)) {
CFrontend::getDelSys(TP.feparams.delsys, TP.feparams.fec_inner, TP.feparams.modulation, f, s, m);
@@ -412,7 +412,7 @@ neutrino_msg_t CScanTs::handleMsg(neutrino_msg_t msg, neutrino_msg_data_t data)
case NeutrinoMessages::EVT_SCAN_REPORT_FREQUENCYP:
{
FrontendParameters *feparams = (FrontendParameters*) data;
char * f, *s, *m;
const char *f, *s, *m;
CFrontend::getDelSys(feparams->delsys, feparams->fec_inner, feparams->modulation, f, s, m);
uint32_t freq = feparams->frequency/1000;