diff options
author | davilla <davilla@svn> | 2010-03-26 21:00:17 +0000 |
---|---|---|
committer | davilla <davilla@svn> | 2010-03-26 21:00:17 +0000 |
commit | f42cec28a8f5a3b22b74ef14afd3e8485f3cc753 (patch) | |
tree | e59cff5e65345d03554fcd95fb39b5603770ad9f | |
parent | ed7c3591f6ba56a3b5b29a4f2037cfc1f8661b6d (diff) |
fixed compiler warning
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@28861 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r-- | xbmc/cores/VideoRenderers/LinuxRendererGL.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/cores/VideoRenderers/LinuxRendererGL.cpp b/xbmc/cores/VideoRenderers/LinuxRendererGL.cpp index 9365b545d5..a1691fbbf8 100644 --- a/xbmc/cores/VideoRenderers/LinuxRendererGL.cpp +++ b/xbmc/cores/VideoRenderers/LinuxRendererGL.cpp @@ -948,7 +948,7 @@ void CLinuxRendererGL::UpdateVideoFilter() if (m_scalingMethod == VS_SCALINGMETHOD_AUTO) { bool scaleSD = m_sourceHeight < 720 && m_sourceWidth < 1280; - bool scaleUp = m_sourceHeight < g_graphicsContext.GetHeight() && m_sourceWidth < g_graphicsContext.GetWidth(); + bool scaleUp = (int)m_sourceHeight < g_graphicsContext.GetHeight() && (int)m_sourceWidth < g_graphicsContext.GetWidth(); if (Supports(VS_SCALINGMETHOD_LANCZOS3_FAST) && scaleSD && scaleUp) m_scalingMethod = VS_SCALINGMETHOD_LANCZOS3_FAST; |