diff options
author | miloyip <miloyip@gmail.com> | 2015-04-13 13:32:11 +0300 |
---|---|---|
committer | miloyip <miloyip@gmail.com> | 2015-04-13 13:32:11 +0300 |
commit | 59ffb9e5f0b5aae07c6d4a507a02cd1a0a7114a3 (patch) | |
tree | e80a7e531e79f693c6deaacc6466e4596ed44f9c /test | |
parent | d439f989bfe20d188e10a5b039437306db10b4f1 (diff) |
Try to fix a gcc/clang error
Diffstat (limited to 'test')
-rw-r--r-- | test/unittest/valuetest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unittest/valuetest.cpp b/test/unittest/valuetest.cpp index 26fde3bd..bb4cc04e 100644 --- a/test/unittest/valuetest.cpp +++ b/test/unittest/valuetest.cpp @@ -489,7 +489,7 @@ TEST(Value, Int64) { EXPECT_FALSE(z.IsInt());
EXPECT_NEAR(-2147483649.0, z.GetDouble(), 0.0);
- z.SetInt64(-9223372036854775808LL);
+ z.SetInt64(static_cast<int64_t>(RAPIDJSON_UINT64_C2(0x80000000, 00000000)));
EXPECT_DOUBLE_EQ(-9223372036854775808.0, z.GetDouble());
}
|