mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-28 03:50:53 +08:00
Fixed broken build on VS 2012
This commit is contained in:
parent
d2618806ba
commit
a3f19c23a0
@ -992,7 +992,7 @@ JSONTEST_FIXTURE( ValueTest, integers )
|
||||
JSONTEST_ASSERT_STRING_EQUAL("-9.223372036854776e+18", normalizeFloatingPointStr(val.asString()));
|
||||
|
||||
// 10^19
|
||||
const uint64_t ten_to_19 = 1e19;
|
||||
const Json::UInt64 ten_to_19 = static_cast<Json::UInt64>( 1e19 );
|
||||
val = Json::Value(Json::UInt64(ten_to_19));
|
||||
|
||||
JSONTEST_ASSERT_EQUAL(Json::uintValue, val.type());
|
||||
|
Loading…
x
Reference in New Issue
Block a user