[Mono-bugs] [Bug 641535] Wrong Marshal.SizeOf() for structs with explicity layout

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 4 09:51:29 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=641535

https://bugzilla.novell.com/show_bug.cgi?id=641535#c2


--- Comment #2 from Paolo Molaro <lupus at novell.com> 2010-10-04 13:51:28 UTC ---
Could you check what happens if you put the long at offset 3?
If the resulting size is 11 your patch should be ok.
If it's still 12, we need to take into account the alignment of at least some
of the fields (maybe only those that are aligned correctly?).

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list