From d8864f3f71d71372a44976ea022b0df9e13c8c37 Mon Sep 17 00:00:00 2001 From: hikerstk Date: Mon, 4 Feb 2008 12:31:21 +0000 Subject: [PATCH] Removed VS compiler warnings (missing type cast). git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1441 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/widget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widget.cpp b/src/widget.cpp index 3318512cb..fbc26ebac 100644 --- a/src/widget.cpp +++ b/src/widget.cpp @@ -475,7 +475,7 @@ bool Widget::createRect(int radius) } else { - vertex_ya = m_height; + vertex_ya = (float)m_height; } if( m_round_corners & WGT_AREA_SW ) @@ -512,7 +512,7 @@ bool Widget::createRect(int radius) } else { - vertex_ya = m_height; + vertex_ya = (float)m_height; } if( m_round_corners & WGT_AREA_SE )