Create endian_bug.c

Sample code for small endianness bug not detected by the compiler (because of the cast)