lib/dvb/frontend.cpp: fix compiler warning
authorghost <andreas.monzner@multimedia-labs.de>
Wed, 9 Jun 2010 16:55:53 +0000 (18:55 +0200)
committerghost <andreas.monzner@multimedia-labs.de>
Wed, 9 Jun 2010 16:55:53 +0000 (18:55 +0200)
lib/dvb/frontend.cpp

index bd8f002..0081e32 100644 (file)
@@ -1124,7 +1124,7 @@ static void fillDictWithSatelliteData(ePyObject dict, const FRONTENDPARAMETERS &
        PutToDict(dict, "orbital_position", orb_pos);
        PutToDict(dict, "polarization", polarization);
 
        PutToDict(dict, "orbital_position", orb_pos);
        PutToDict(dict, "polarization", polarization);
 
-       switch(parm_u_qpsk_fec_inner)
+       switch((int)parm_u_qpsk_fec_inner)
        {
        case FEC_1_2: tmp = eDVBFrontendParametersSatellite::FEC_1_2; break;
        case FEC_2_3: tmp = eDVBFrontendParametersSatellite::FEC_2_3; break;
        {
        case FEC_1_2: tmp = eDVBFrontendParametersSatellite::FEC_1_2; break;
        case FEC_2_3: tmp = eDVBFrontendParametersSatellite::FEC_2_3; break;