This commit is contained in:
Ming 2010-09-03 07:01:55 +00:00
parent 34e4254957
commit acfe962059
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ static inline void ccArrayEnsureExtraCapacity(ccArray *arr, unsigned int extra)
}
/** Returns index of first occurence of object, UXNotFound if object not found. */
static inline int ccArrayGetIndexOfObject(ccArray *arr, NSObject* object)
static inline unsigned int ccArrayGetIndexOfObject(ccArray *arr, NSObject* object)
{
for ( unsigned int i = 0; i < arr->num; i++)
{