mirror of https://github.com/axmolengine/axmol.git
issue #1486: fix a warning in CCAutoreleasePool.cpp.
This commit is contained in:
parent
f5abe422ea
commit
965540ecec
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue