py/misc.h: Add missing semi-colon in mp_float_union_t for big-endian.

Fixes issue #6161.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2020-06-18 10:58:51 +10:00
parent 3a9d948032
commit 6164c7e666

View File

@ -247,7 +247,7 @@ typedef union _mp_float_union_t {
} p; } p;
#else #else
struct { struct {
mp_float_uint_t sgn : 1 mp_float_uint_t sgn : 1;
mp_float_uint_t exp : MP_FLOAT_EXP_BITS; mp_float_uint_t exp : MP_FLOAT_EXP_BITS;
mp_float_uint_t frc : MP_FLOAT_FRAC_BITS; mp_float_uint_t frc : MP_FLOAT_FRAC_BITS;
} p; } p;