From a3f19c23a0f17ce3fb444e2d11d188e681119367 Mon Sep 17 00:00:00 2001 From: Baptiste Lepilleur Date: Mon, 23 Sep 2013 14:10:39 +0000 Subject: [PATCH] Fixed broken build on VS 2012 --- src/test_lib_json/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test_lib_json/main.cpp b/src/test_lib_json/main.cpp index 1d89721..31f103c 100644 --- a/src/test_lib_json/main.cpp +++ b/src/test_lib_json/main.cpp @@ -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( 1e19 ); val = Json::Value(Json::UInt64(ten_to_19)); JSONTEST_ASSERT_EQUAL(Json::uintValue, val.type());