diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -188,8 +188,7 @@ bigendian(void) uint16_t u16; uint8_t u8[2]; } u = { - .u16 = 0x0102, + .u16 = 0x0102U, }; - u.u16 = 0x0102U; return u.u8[0] == 1; } |