Permalink
Browse files

Suppress implict conversion warning (icpc).

  • Loading branch information...
daniel-kristjansson committed Jun 26, 2012
1 parent 8d6e680 commit 0680c4f362dc133cb70d81660ab02e4b4e7cad34
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmyth/programinfo.cpp
@@ -790,7 +790,7 @@ ProgramInfo::ProgramInfo(const QString &_pathname,
clear();
QDateTime cur = MythDate::current();
- recstartts = cur.addSecs((_length_in_minutes + 1) * -60);
+ recstartts = cur.addSecs(((int)_length_in_minutes + 1) * -60);
recendts = recstartts.addSecs(_length_in_minutes * 60);
startts = QDateTime(QDate(year,1,1),QTime(0,0,0), Qt::UTC);
endts = startts.addSecs(_length_in_minutes * 60);

0 comments on commit 0680c4f

Please sign in to comment.