Compiler Warning (level 4) C4366
If a structure member could ever be unaligned because of packing, the compiler will warn when that member's address is assigned to an aligned pointer. By default, all pointers are aligned.
To resolve C4366, either change the alignment of the structure or declare the pointer with the __unaligned keyword.
For more information, see __unaligned and pack.