Fix float32_bits union so that it always the sizeof float.
This commit is contained in:
parent
97a61d0577
commit
e98e3c4783
|
@ -49,7 +49,7 @@ typedef union
|
||||||
typedef union
|
typedef union
|
||||||
{
|
{
|
||||||
float v;
|
float v;
|
||||||
struct
|
struct __attribute__((packed))
|
||||||
{
|
{
|
||||||
#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
|
#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
|
||||||
uint32_t s:1;
|
uint32_t s:1;
|
||||||
|
|
Loading…
Reference in New Issue