mirror of https://github.com/axmolengine/axmol.git
Fix of unsigned / signed mismatch in UIPageView.cpp.
This commit is contained in:
parent
6b579ebe5e
commit
da8c34d994
|
@ -272,7 +272,7 @@ void UIPageView::updateChildrenSize()
|
|||
}
|
||||
|
||||
cocos2d::Size selfSize = getSize();
|
||||
for (unsigned int i=0; i<_pages->count(); i++)
|
||||
for (long i=0; i<_pages->count(); i++)
|
||||
{
|
||||
UILayout* page = dynamic_cast<UILayout*>(_pages->getObjectAtIndex(i));
|
||||
page->setSize(selfSize);
|
||||
|
|
Loading…
Reference in New Issue