Skip to content

Commit

Permalink
silenced compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
WiSo committed Apr 16, 2012
1 parent 7ef10f8 commit 2065cb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbmc/video/dialogs/GUIDialogTeletext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ void CGUIDialogTeletext::OnInitWindow()

g_graphicsContext.SetScalingResolution(m_coordsRes, m_needsScaling);
float left = g_graphicsContext.ScaleFinalXCoord(0, 0);
float right = g_graphicsContext.ScaleFinalXCoord(m_coordsRes.iWidth, 0);
float right = g_graphicsContext.ScaleFinalXCoord((float)m_coordsRes.iWidth, 0);
float top = g_graphicsContext.ScaleFinalYCoord(0, 0);
float bottom = g_graphicsContext.ScaleFinalYCoord(0, m_coordsRes.iHeight);
float bottom = g_graphicsContext.ScaleFinalYCoord(0, (float)m_coordsRes.iHeight);

m_vertCoords.SetRect(left,
top,
Expand Down

0 comments on commit 2065cb5

Please sign in to comment.