File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -805,13 +805,13 @@ - (void)replaceObjectAtIndex:(NSUInteger)objectIndex withObject:(id)anObject
805805- (id )copyWithZone : (NSZone *)zone
806806{
807807 NSParameterAssert ((objects != NULL ) && (count <= capacity));
808- return ((mutations == 0UL ) ? [self retain ] : [[NSArray allocWithZone: zone] initWithObjects: objects count: count]);
808+ return ((mutations == 0UL ) ? [self retain ] : [( NSArray *) [NSArray allocWithZone: zone] initWithObjects: objects count: count]);
809809}
810810
811811- (id )mutableCopyWithZone : (NSZone *)zone
812812{
813813 NSParameterAssert ((objects != NULL ) && (count <= capacity));
814- return ([[NSMutableArray allocWithZone: zone] initWithObjects: objects count: count]);
814+ return ([( NSMutableArray *) [NSMutableArray allocWithZone: zone] initWithObjects: objects count: count]);
815815}
816816
817817@end
You can’t perform that action at this time.
0 commit comments