This commit is contained in:
Hongze Cheng 2022-01-02 09:41:00 +00:00
parent 6d3032d538
commit e4252065d1
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ static FORCE_INLINE int tEncodeFloat(SCoder* pEncoder, float val) {
} }
static FORCE_INLINE int tEncodeDouble(SCoder* pEncoder, double val) { static FORCE_INLINE int tEncodeDouble(SCoder* pEncoder, double val) {
union { union {
uint64_t ui; uint64_t ui;
double d; double d;
} v = {.d = val}; } v = {.d = val};