* Add the padding data type defined as:
GCC: typedef struct pad { unsigned char c; } pad_t __atribute(packed);
Others: typedef unsigned char pad_t;
* Replace padding bytes with the pad_t type.
Log in to post a comment.