Union struct bitfield and endianess in C
Bitfield with struct and union in C (gcc) with endianess
I have updated the union struct and bitfield in C fixing both the endianess of the bit-field and the warning message if the -Wpedantic is used with gcc (bit-field is a GCC extension).
/*
* Copyright © 2016 Enrico Rossi <e.rossi@tecnobrain …