hownot2code.com
Change of type alignment and the consequences
The article describes a type of an error that can occur during the porting of a 32-bit application to the 64-bit one. When sizes of fields in a structure change, the size of the structure itself ch…