aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc/objects.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/objc/objects.c')
-rw-r--r--gcc/objc/objects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/objc/objects.c b/gcc/objc/objects.c
index a8f1a3b..5463f6e 100644
--- a/gcc/objc/objects.c
+++ b/gcc/objc/objects.c
@@ -68,7 +68,7 @@ id __objc_object_dispose(id object)
id __objc_object_copy(id object)
{
id copy = class_create_instance(object->class_pointer);
- bcopy(object, copy, object->class_pointer->instance_size);
+ memcpy(copy, object, object->class_pointer->instance_size);
return copy;
}