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:
Richard Frith-MacDonald 2010-02-25 10:00:48 +00:00
parent f6f61cb578
commit 62939c969a
12 changed files with 124 additions and 36 deletions

View file

@ -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)
{