Permalink
Browse files

Address a couple sign change issues (gcc warnings).

  • Loading branch information...
daniel-kristjansson committed Dec 10, 2012
1 parent 4e3aecd commit 42e3b74b91d6de458773729f242e043e7f359b2a
Showing with 3 additions and 3 deletions.
  1. +2 −2 mythtv/libs/libmythtv/Bluray/bdringbuffer.cpp
  2. +1 −1 mythtv/libs/libmythtv/recorders/dvbchannel.cpp
@@ -499,7 +499,7 @@ uint32_t BDRingBuffer::GetCurrentChapter(void)
uint64_t BDRingBuffer::GetChapterStartTime(uint32_t chapter)
{
if (chapter < 0 || chapter >= GetNumChapters())
if (chapter >= GetNumChapters())
return 0;
QMutexLocker locker(&m_infoLock);
return (uint64_t)((long double)m_currentTitleInfo->chapters[chapter].start /
@@ -508,7 +508,7 @@ uint64_t BDRingBuffer::GetChapterStartTime(uint32_t chapter)
uint64_t BDRingBuffer::GetChapterStartFrame(uint32_t chapter)
{
if (chapter < 0 || chapter >= GetNumChapters())
if (chapter >= GetNumChapters())
return 0;
QMutexLocker locker(&m_infoLock);
return (uint64_t)((long double)(m_currentTitleInfo->chapters[chapter].start *
@@ -70,7 +70,7 @@ DVBChannel::DVBChannel(const QString &aDevice, TVRec *parent)
frontend_name(QString::null),
// Tuning
tune_lock(), hw_lock(QMutex::Recursive),
last_lnb_dev_id(-1),
last_lnb_dev_id(~0x0),
tuning_delay(0), sigmon_delay(25),
first_tune(true),
// Misc

0 comments on commit 42e3b74

Please sign in to comment.