diff options
author | spiff <spiff@xbmc.org> | 2011-06-13 18:47:58 +0200 |
---|---|---|
committer | spiff <spiff@xbmc.org> | 2011-06-13 18:49:19 +0200 |
commit | ff081e321a96d0c6ee5c7a3208ec85f8320caad2 (patch) | |
tree | 3c03a61377a51a09cae9f410ecaf586dff984358 | |
parent | effaf0f4d617c86ddbcc6ae699b6aba3a0ab4386 (diff) |
silence compile warnings
-rw-r--r-- | xbmc/filesystem/Slingbox.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xbmc/filesystem/Slingbox.cpp b/xbmc/filesystem/Slingbox.cpp index 58bacb1c4e..d7e87633e7 100644 --- a/xbmc/filesystem/Slingbox.cpp +++ b/xbmc/filesystem/Slingbox.cpp @@ -387,7 +387,7 @@ bool CSlingboxFile::PrevChannel() bool CSlingboxFile::SelectChannel(unsigned int uiChannel) { // Check if a channel change is required - if (m_pSlingbox->GetChannel() == uiChannel) + if (m_pSlingbox->GetChannel() == (int)uiChannel) return false; // Prepare variables @@ -426,7 +426,7 @@ bool CSlingboxFile::SelectChannel(unsigned int uiChannel) CLog::Log(LOGDEBUG, "%s - Unable to confirm change to channel %i on Slingbox: %s", __FUNCTION__, uiChannel, m_sSlingboxSettings.strHostname.c_str()); } - else if (m_pSlingbox->GetChannel() == uiChannel) + else if (m_pSlingbox->GetChannel() == (int)uiChannel) { CLog::Log(LOGDEBUG, "%s - Confirmed change to channel %i on Slingbox: %s", __FUNCTION__, uiChannel, m_sSlingboxSettings.strHostname.c_str()); @@ -604,8 +604,8 @@ void CSlingboxFile::LoadSettings(const CStdString& strHostname) // setup things accordingly for (unsigned int i = 0; i < 11; i++) { - if (m_sSlingboxSettings.iVideoWidth == m_resolutionMap[i].uiWidth && - m_sSlingboxSettings.iVideoHeight == m_resolutionMap[i].uiHeight) + if (m_sSlingboxSettings.iVideoWidth == (int)m_resolutionMap[i].uiWidth && + m_sSlingboxSettings.iVideoHeight == (int)m_resolutionMap[i].uiHeight) { m_sSlingboxSettings.iVideoResolution = (int)m_resolutionMap[i].eEnum; return; @@ -619,4 +619,4 @@ void CSlingboxFile::LoadSettings(const CStdString& strHostname) m_sSlingboxSettings.iVideoWidth = 320; m_sSlingboxSettings.iVideoHeight = 240; m_sSlingboxSettings.iVideoResolution = (int)CSlingbox::RESOLUTION320X240; -}
\ No newline at end of file +} |