diff --git a/Testing/string.m b/Testing/string.m index 5e542a8f6..19551ea45 100644 --- a/Testing/string.m +++ b/Testing/string.m @@ -27,7 +27,7 @@ int main() [s3 release]; [s2 release]; - s2 = [s copyWithZone: NS_NOZONE]; + s2 = [s copyWithZone: NSDefaultMallocZone ()]; print_string(s2); s2 = [s stringByAppendingString:@" with something added"];