From a72c9a5f9169d316b95b91e85cceb6e19c31c801 Mon Sep 17 00:00:00 2001 From: hikerstk Date: Mon, 24 Jan 2011 05:29:16 +0000 Subject: [PATCH] Fixed compiler warnings. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7523 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/states_screens/kart_selection.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/states_screens/kart_selection.cpp b/src/states_screens/kart_selection.cpp index 0c70746e0..b890287a2 100644 --- a/src/states_screens/kart_selection.cpp +++ b/src/states_screens/kart_selection.cpp @@ -1082,10 +1082,10 @@ bool KartSelectionScreen::playerJoin(InputDevice* device, bool firstPlayer) m_multiplayer_message = new BubbleWidget(); m_multiplayer_message->m_properties[PROP_TEXT_ALIGN] = "center"; m_multiplayer_message->setText( _("Everyone:\nPress 'Fire' now to join the game!") ); - m_multiplayer_message->m_x = fullarea->m_x + splitWidth + splitWidth*0.2f; - m_multiplayer_message->m_y = fullarea->m_y + fullarea->m_h*0.3f; - m_multiplayer_message->m_w = splitWidth*0.6f; - m_multiplayer_message->m_h = fullarea->m_h*0.6f; + m_multiplayer_message->m_x = (int)(fullarea->m_x + splitWidth + splitWidth*0.2f); + m_multiplayer_message->m_y = (int)(fullarea->m_y + fullarea->m_h*0.3f); + m_multiplayer_message->m_w = (int)(splitWidth*0.6f); + m_multiplayer_message->m_h = (int)(fullarea->m_h*0.6f); m_multiplayer_message->setFocusable(false); m_multiplayer_message->add(); manualAddWidget(m_multiplayer_message);