Merge pull request #1777 from alexrp/sgen-separation
[mono.git] / mono / sgen / sgen-debug.c
index 6ced264969069e46ecbbbe84bb61e74295190bff..be53b493fdd8fa35ae4faaa69e7905f00f1a7559 100644 (file)
@@ -854,7 +854,7 @@ mono_gc_scan_for_specific_ref (GCObject *key, gboolean precise)
        } SGEN_HASH_TABLE_FOREACH_END;
 
        if (sgen_is_world_stopped ())
-               find_pinning_ref_from_thread ((char*)key, sizeof (MonoObject));
+               find_pinning_ref_from_thread ((char*)key, sizeof (GCObject));
 }
 
 #ifndef SGEN_WITHOUT_MONO