Quote Originally Posted by ^NyAw^ View Post
Ok, so every struct have to be 32-bit aligned.
Yes, but only in memory on 32-bit (and pseudo-64bit) machines. Other machines might have different alignment. Also usually you don't align data in files* or in network communication.

* Unless the file format was designed for fast access.