Commit d5e4fa5e by Richard Kenner

(class_create_instance): Replace memchr with memset.

From-SVN: r8515
parent d72a7857
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment