Fix of unsigned / signed mismatch in UIPageView.cpp.

This commit is contained in:
James Chen 2013-11-20 11:20:35 +08:00
parent 6b579ebe5e
commit da8c34d994
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ void UIPageView::updateChildrenSize()
} }
cocos2d::Size selfSize = getSize(); 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)); UILayout* page = dynamic_cast<UILayout*>(_pages->getObjectAtIndex(i));
page->setSize(selfSize); page->setSize(selfSize);