* Source/NSArray.m (-objectsAtIndexes:): Fix comparision of

unsigned variable with NSNotFound.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34389 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2012-01-02 15:07:32 +00:00
parent a813605ded
commit e7d5480cd1
2 changed files with 7 additions and 2 deletions

View file

@ -925,7 +925,7 @@ static SEL rlSel;
//FIXME: probably slow!
NSMutableArray *group = [NSMutableArray arrayWithCapacity: [indexes count]];
unsigned i = [indexes firstIndex];
NSUInteger i = [indexes firstIndex];
while (i != NSNotFound)
{
[group addObject: [self objectAtIndex: i]];