CFrontend: fix compiler warnings, wrong datatype

There are a lot of possible conversion problems
to one data type from other datatype those may alter values.
Sure, not for all, but on this quantity it's not to be underestimated.
This should be considered in more detail and should be
corrected over time, if required.


Origin commit data
------------------
Branch: ni/coolstream
Commit: e199d0c558
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-07-18 (Thu, 18 Jul 2013)



------------------
This commit was generated by Migit
This commit is contained in:
2013-07-18 20:38:57 +02:00
parent 1c7d6df290
commit e97a2d2a90

View File

@@ -171,7 +171,7 @@ class CFrontend
static fe_code_rate_t getCodeRate(const uint8_t fec_inner, int system = 0);
uint8_t getDiseqcPosition(void) const { return currentTransponder.diseqc; }
uint8_t getDiseqcRepeats(void) const { return config.diseqcRepeats; }
uint8_t getDiseqcRepeats(void) const { return (uint8_t) config.diseqcRepeats; }
diseqc_t getDiseqcType(void) const { return (diseqc_t) config.diseqcType; }
uint32_t getFrequency(void) const { return currentTransponder.feparams.dvb_feparams.frequency; }
bool getHighBand() { return (int) getFrequency() >= lnbSwitch; }