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
This commit is contained in:
parent
fa90139fc8
commit
d8864f3f71
@ -475,7 +475,7 @@ bool Widget::createRect(int radius)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
vertex_ya = m_height;
|
vertex_ya = (float)m_height;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( m_round_corners & WGT_AREA_SW )
|
if( m_round_corners & WGT_AREA_SW )
|
||||||
@ -512,7 +512,7 @@ bool Widget::createRect(int radius)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
vertex_ya = m_height;
|
vertex_ya = (float)m_height;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( m_round_corners & WGT_AREA_SE )
|
if( m_round_corners & WGT_AREA_SE )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user