Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/miloyip/rapidjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormiloyip <miloyip@gmail.com>2015-04-13 13:32:11 +0300
committermiloyip <miloyip@gmail.com>2015-04-13 13:32:11 +0300
commit59ffb9e5f0b5aae07c6d4a507a02cd1a0a7114a3 (patch)
treee80a7e531e79f693c6deaacc6466e4596ed44f9c /test
parentd439f989bfe20d188e10a5b039437306db10b4f1 (diff)
Try to fix a gcc/clang error
Diffstat (limited to 'test')
-rw-r--r--test/unittest/valuetest.cpp2
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());
}