[mythtv] Recent changed to commercial_skip.cpp break qt-3.1

Chris Tracy mythtv at adiemus.org
Tue Feb 22 19:19:40 UTC 2005


	A recent commercial_skip.cpp commit broke compilation on qt-3.1.  
Below is a patch that fixes it (by basically copying previous patches to
fix the same issue so credit to them)

	Chris

--- mythtv/libs/libmythtv/commercial_skip.cpp   19 Feb 2005 08:49:45 -00001.40
+++ mythtv/libs/libmythtv/commercial_skip.cpp   22 Feb 2005 19:17:22 -0000
@@ -191,7 +191,7 @@
     {
         VERBOSE(VB_COMMFLAG,
                 QString("Aspect Ratio changed from %1 to %2 at frame %3")
-                        .arg(currentAspect).arg(newAspect).arg(curFrameNumber));
+                        .arg(currentAspect).arg(newAspect).arg((long)curFrameNumber));
 
         if (frameInfo.contains(curFrameNumber))
         {
@@ -206,7 +206,7 @@
             VERBOSE(VB_COMMFLAG, QString("Unable to keep track of Aspect ratio "
                                          "change because frameInfo for frame "
                                          "number %1 does not exist.")
-                                         .arg(curFrameNumber));
+                                         .arg((long)curFrameNumber));
         }
         currentAspect = newAspect;
     }



More information about the mythtv-dev mailing list