mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +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
|
@ -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.
|
||||
|
||||
|
|
|
@ -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…
Reference in a new issue