[Orxonox-commit 5619] r10279 - code/trunk/src/libraries/core

landauf at orxonox.net landauf at orxonox.net
Wed Feb 18 21:57:42 CET 2015


Author: landauf
Date: 2015-02-18 21:57:42 +0100 (Wed, 18 Feb 2015)
New Revision: 10279

Modified:
   code/trunk/src/libraries/core/GUIManager.cc
Log:
fixed msvc warnings

Modified: code/trunk/src/libraries/core/GUIManager.cc
===================================================================
--- code/trunk/src/libraries/core/GUIManager.cc	2015-02-18 20:56:38 UTC (rev 10278)
+++ code/trunk/src/libraries/core/GUIManager.cc	2015-02-18 20:57:42 UTC (rev 10279)
@@ -845,7 +845,7 @@
 #else
         this->guiRenderer_->setDisplaySize(CEGUI::Size((float)newWidth, (float)newHeight));
 #endif
-        this->rootWindow_->setSize(CEGUI::UVector2(CEGUI::UDim(1, newWidth), CEGUI::UDim(1, newHeight)));
+        this->rootWindow_->setSize(CEGUI::UVector2(CEGUI::UDim(1, (float)newWidth), CEGUI::UDim(1, (float)newHeight)));
     }
 
     /**




More information about the Orxonox-commit mailing list