Fix mrb_pool_value to keep int64 on 32 bit platforms; fix #5366

This commit is contained in:
Yukihiro "Matz" Matsumoto
2021-03-04 17:17:13 +09:00
parent 2be1a9c3c7
commit 2f335e1a58
-2
View File
@@ -31,9 +31,7 @@ typedef struct mrb_pool_value {
union {
const char *str;
int32_t i32;
#if defined(MRB_64BIT) || defined(MRB_INT64)
int64_t i64;
#endif
#ifndef MRB_NO_FLOAT
mrb_float f;
#endif