File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -805,13 +805,13 @@ - (void)replaceObjectAtIndex:(NSUInteger)objectIndex withObject:(id)anObject
805
805
- (id )copyWithZone : (NSZone *)zone
806
806
{
807
807
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]);
809
809
}
810
810
811
811
- (id )mutableCopyWithZone : (NSZone *)zone
812
812
{
813
813
NSParameterAssert ((objects != NULL ) && (count <= capacity));
814
- return ([[NSMutableArray allocWithZone: zone] initWithObjects: objects count: count]);
814
+ return ([( NSMutableArray *) [NSMutableArray allocWithZone: zone] initWithObjects: objects count: count]);
815
815
}
816
816
817
817
@end
You can’t perform that action at this time.
0 commit comments