Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes! Sorry, my mistake. int then char on x86 will put the padding at the end of the struct, not in the middle. I had originally written it that other way (char and then int), then edited it to be the other way (int and then char) but didn't update the other text. I edited the post to have this correction.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: