Avoid warning on gcc/linux.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6006 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien 2019-12-13 11:28:45 +00:00
parent 6c5ae22d49
commit 421000e00d

View File

@ -134,7 +134,7 @@ namespace gui
_IRR_DEPRECATED_ virtual s32 getNumber() const
{
if (Parent && Parent->getType() == EGUIET_TAB_CONTROL)
return static_cast<IGUITabControl* const>(Parent)->getTabIndex(this);
return static_cast<IGUITabControl*>(Parent)->getTabIndex(this);
return -1;
}