https://bugzilla.novell.com/show_bug.cgi?id=462016
User munro...@us.ibm.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462016#c8 --- Comment #8 from Steven Munroe <munro...@us.ibm.com> 2008-12-30 12:49:25 MST --- Tried this patch suggested by Mark Probst: Index: mini/mini.c =================================================================== --- mini/mini.c (revision 122130) +++ mini/mini.c (working copy) -1627,7 +1627,7 @@ /* inst->backend.is_pinvoke indicates native sized value types, this is used by the * pinvoke wrappers when they call functions returning structures */ if (inst->backend.is_pinvoke && MONO_TYPE_ISSTRUCT (inst->inst_vtype) && inst->inst_vtype->type != MONO_TYPE_TYPEDBYREF) - size = mono_class_native_size (inst->inst_vtype->data.klass, &align); + size = mono_class_native_size (mono_class_from_mono_type (inst->inst_vtype), &align); else { int ialign; -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs