Skip to content

Commit a3f19c2

Browse files
committed
Fixed broken build on VS 2012
1 parent d261880 commit a3f19c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test_lib_json/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ JSONTEST_FIXTURE( ValueTest, integers )
992992
JSONTEST_ASSERT_STRING_EQUAL("-9.223372036854776e+18", normalizeFloatingPointStr(val.asString()));
993993

994994
// 10^19
995-
const uint64_t ten_to_19 = 1e19;
995+
const Json::UInt64 ten_to_19 = static_cast<Json::UInt64>( 1e19 );
996996
val = Json::Value(Json::UInt64(ten_to_19));
997997

998998
JSONTEST_ASSERT_EQUAL(Json::uintValue, val.type());

0 commit comments

Comments
 (0)