Re:A bug story: data alignment on x86
by alkonaut on Monday November 07, 2016 @09:43AM
(#12891325)
What I needed to do was to place e.g. a N byte struct exactly on an M byte alignment (e.g. 11 byte struct on 32 byte alignment etc).
[ Parent
| on HN ]
Re:A bug story: data alignment on x86
by steveklabnik on Monday November 07, 2016 @10:10AM
(#12891616)
Ah! Yeah, that's different, and as far as I know your way is the current right way to do it, but I'm not an expert on the subject.