mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +00:00
compatibility and portability fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29736 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1373a38edf
commit
9fec2dc13d
12 changed files with 124 additions and 36 deletions
|
@ -133,14 +133,16 @@ static Class concreteClass = 0;
|
|||
|
||||
- (NSUInteger) count
|
||||
{
|
||||
return (NSUInteger)[self subclassResponsibility: _cmd];
|
||||
[self subclassResponsibility: _cmd];
|
||||
return (NSUInteger)0;
|
||||
}
|
||||
|
||||
- (NSUInteger) countByEnumeratingWithState: (NSFastEnumerationState*)state
|
||||
objects: (id*)stackbuf
|
||||
count: (NSUInteger)len
|
||||
{
|
||||
return (NSUInteger)[self subclassResponsibility: _cmd];
|
||||
[self subclassResponsibility: _cmd];
|
||||
return (NSUInteger)0;
|
||||
}
|
||||
|
||||
- (NSDictionary*) dictionaryRepresentation
|
||||
|
@ -201,7 +203,7 @@ static Class concreteClass = 0;
|
|||
|
||||
- (void) removeAllObjects
|
||||
{
|
||||
unsigned count = [self count];
|
||||
NSUInteger count = [self count];
|
||||
|
||||
if (count > 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue