Fixed compiler warning.
This commit is contained in:
parent
7799e9835d
commit
bf858dd3ff
@ -182,7 +182,7 @@ void IconButtonWidget::add()
|
||||
x1 += diff;
|
||||
x2 += diff;
|
||||
}
|
||||
else if (x2 > irr_driver->getActualScreenSize().Width)
|
||||
else if (x2 > (int)irr_driver->getActualScreenSize().Width)
|
||||
{
|
||||
int diff = x2 - irr_driver->getActualScreenSize().Width;
|
||||
x2 -= diff;
|
||||
|
Loading…
x
Reference in New Issue
Block a user