mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 12:16:40 +00:00
* 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:
parent
a813605ded
commit
e7d5480cd1
2 changed files with 7 additions and 2 deletions
|
@ -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]];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue