Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #58 from samsoffes/master

Surpress "multiple methods named" error
  • Loading branch information...
commit e3f9017cffd375a9093f8d97d80bb6673abe2da4 2 parents c2ef692 + 395ab9a
@johnezang authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  JSONKit.m
View
2  JSONKit.m
@@ -848,7 +848,7 @@ - (void)dealloc
- (NSArray *)allObjects
{
NSParameterAssert(collection != NULL);
- NSUInteger count = [collection count], atObject = 0UL;
+ NSUInteger count = [(NSDictionary *)collection count], atObject = 0UL;
id objects[count];
while((objects[atObject] = [self nextObject]) != NULL) { NSParameterAssert(atObject < count); atObject++; }
Please sign in to comment.
Something went wrong with that request. Please try again.