On Mon, 2020-06-08 at 15:34 +0200, Lars Poeschel wrote: > > What am I missing ? What am I doing wrong ? > You're casting an address of some byte array to a point to struct, which has an alignment > 1 byte. Try adding a #pragma pack (1) or respective attribute. Cheers, Oleg