issue #1486: fix a warning in CCAutoreleasePool.cpp.

This commit is contained in:
James Chen 2012-10-12 16:03:53 +08:00
parent f5abe422ea
commit 965540ecec
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ void CCAutoreleasePool::addObject(CCObject* pObject)
void CCAutoreleasePool::removeObject(CCObject* pObject)
{
for (int i = 0; i < pObject->m_uAutoReleaseCount; ++i)
for (unsigned int i = 0; i < pObject->m_uAutoReleaseCount; ++i)
{
m_pManagedObjectArray->removeObject(pObject, false);
}