(class_create_instance): Replace memchr with memset.

From-SVN: r8515
This commit is contained in:
Richard Kenner 1994-11-18 19:10:21 -05:00
parent d72a78574b
commit d5e4fa5e17

View File

@ -43,7 +43,7 @@ class_create_instance(Class* class)
new = (*_objc_object_alloc)(class);
if (new!=nil)
{
memchr (new, 0, class->instance_size);
memset (new, 0, class->instance_size);
new->class_pointer = class;
}
return new;