Fixed various compiler warnings.

This commit is contained in:
hiker
2017-05-09 09:34:37 +10:00
parent 3a176f818c
commit 03f4b76a32
5 changed files with 7 additions and 7 deletions

View File

@@ -225,7 +225,7 @@ public:
{
const unsigned width = irr_driver->getActualScreenSize().Width;
const unsigned height = irr_driver->getActualScreenSize().Height;
core::dimension2du dim(width * 0.75f, height * 0.05f);
core::dimension2du dim(int(width * 0.75f), int(height * 0.05f));
int x = (width - dim.Width) / 2;
int y = height - int(1.5f * dim.Height);
m_area = irr::core::recti(x, y, x + dim.Width,