Skip to content

Commit e3f9017

Browse files
committed
Merge pull request johnezang#58 from samsoffes/master
Surpress "multiple methods named" error
2 parents c2ef692 + 395ab9a commit e3f9017

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JSONKit.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ - (void)dealloc
848848
- (NSArray *)allObjects
849849
{
850850
NSParameterAssert(collection != NULL);
851-
NSUInteger count = [collection count], atObject = 0UL;
851+
NSUInteger count = [(NSDictionary *)collection count], atObject = 0UL;
852852
id objects[count];
853853

854854
while((objects[atObject] = [self nextObject]) != NULL) { NSParameterAssert(atObject < count); atObject++; }

0 commit comments

Comments
 (0)