[sgen] `GCObject*` instead of `char*` where appropriate.
[mono.git] / mono / sgen / sgen-simple-nursery.c
index f0827a95069471fa9692091b5d1b1519bd606a32..d1497f6e18a72d6685b279e47e3b657d78028aa1 100644 (file)
@@ -31,7 +31,7 @@
 #include "mono/sgen/sgen-client.h"
 
 static inline char*
-alloc_for_promotion (GCVTable vtable, char *obj, size_t objsize, gboolean has_references)
+alloc_for_promotion (GCVTable vtable, GCObject *obj, size_t objsize, gboolean has_references)
 {
        return major_collector.alloc_object (vtable, objsize, has_references);
 }