Commit 0e4f08ea authored by Milo Yip's avatar Milo Yip

Fix a compilation error due to INT64_C

parent 5e5fb7b3
...@@ -420,7 +420,7 @@ public: ...@@ -420,7 +420,7 @@ public:
if (!(static_cast<uint64_t>(i64) & RAPIDJSON_UINT64_C2(0xFFFFFFFF, 0x80000000))) if (!(static_cast<uint64_t>(i64) & RAPIDJSON_UINT64_C2(0xFFFFFFFF, 0x80000000)))
flags_ |= kIntFlag; flags_ |= kIntFlag;
} }
else if (i64 >= INT64_C(-2147483648)) else if (i64 >= static_cast<int64_t>(RAPIDJSON_UINT64_C2(0xFFFFFFFF, 0x80000000)))
flags_ |= kIntFlag; flags_ |= kIntFlag;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment