* 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

@ -1,6 +1,11 @@
2012-01-02 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSArray.m (-objectsAtIndexes:): Fix comparision of
unsigned variable with NSNotFound.
2012-01-02 02:26-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSXMLNode.m: Minor correction. Move setName out of
* Source/NSXMLNode.m: Minor correction. Move setName out of
private category.
* Tests/base/NSXMLNode/children.m: Update test.

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]];