better readable code
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 29 Jun 2006 22:42:27 +0000 (22:42 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 29 Jun 2006 22:42:27 +0000 (22:42 +0000)
lib/dvb/sec.cpp

index 3ab46c8..86f549c 100644 (file)
@@ -562,7 +562,7 @@ RESULT eDVBSatelliteEquipmentControl::prepare(iDVBFrontend &frontend, FRONTENDPA
                                                if ( send_mask & 2 )
                                                        ++loops;
 
-                                               loops *= 1 << di_param.m_repeats;
+                                               loops <<= di_param.m_repeats;
 
                                                for ( int i = 0; i < loops;)  // fill commands...
                                                {