We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c2ef692 + 395ab9a commit e3f9017Copy full SHA for e3f9017
JSONKit.m
@@ -848,7 +848,7 @@ - (void)dealloc
848
- (NSArray *)allObjects
849
{
850
NSParameterAssert(collection != NULL);
851
- NSUInteger count = [collection count], atObject = 0UL;
+ NSUInteger count = [(NSDictionary *)collection count], atObject = 0UL;
852
id objects[count];
853
854
while((objects[atObject] = [self nextObject]) != NULL) { NSParameterAssert(atObject < count); atObject++; }
0 commit comments