[mythtv-users] Mythtv CVS - Problem compiling commercial_skip.cpp
Chris Pinkham
cpinkham at bc2va.org
Fri Jan 28 16:38:14 EST 2005
> Yes - tcommerical_skip.cpp is compiling now. I'm now getting a simular
> problem with tv_rec.cpp (I dont know if this is yours?): -
Not mine so I'm not sure if these can be safely converted to "long int" for
display, but here's a patch you can use to get it compiling on your box.
--
Chris
-------------- next part --------------
Index: libs/libmythtv/mpeg/tsstats.h
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/mpeg/tsstats.h,v
retrieving revision 1.1
diff -u -r1.1 tsstats.h
--- libs/libmythtv/mpeg/tsstats.h 24 Dec 2004 23:24:07 -0000 1.1
+++ libs/libmythtv/mpeg/tsstats.h 28 Jan 2005 21:36:32 -0000
@@ -22,11 +22,11 @@
inline QString TSStats::toString() {
QString str("Transport Stream Statistics\n");
- str.append(QString("TSPacket Count: %1").arg(_tspacket_count));
+ str.append(QString("TSPacket Count: %1").arg((long int)_tspacket_count));
QMapIterator<int, long long> it = _pid_counts.begin();
for (; it != _pid_counts.end(); it++)
str.append(QString("\nPID 0x%1 Count: %2").
- arg((int)it.key(),0,16).arg((long long)it.data(),10,10));
+ arg((int)it.key(),0,16).arg((long int)it.data(),10,10));
return str;
}
More information about the mythtv-users
mailing list