net-misc/rustdesk: update deps
[gentoo-zh.git] / app-i18n / mozc / files / mozc-2.20.2673.102-tests_build.patch
blobb8b4477437f8b06d3928f82d02a1f53d5eda25e0
1 --- /src/net/json_util_test.cc
2 +++ /src/net/json_util_test.cc
3 @@ -784,13 +784,13 @@
4 for (size_t i = 0; i < arraysize(kNumS32ValueKeys); ++i) {
6 Json::Value json_value;
7 - json_value[kNumS32ValueKeys[i]] = -2147483649ll;
8 + json_value[kNumS32ValueKeys[i]] = static_cast<Json::Value::Int64>(-2147483649ll);
9 TestMsg msg;
10 EXPECT_FALSE(JsonUtil::JsonValueToProtobufMessage(json_value, &msg));
13 Json::Value json_value;
14 - json_value[kNumS32ValueKeys[i]] = 2147483648ull;
15 + json_value[kNumS32ValueKeys[i]] = static_cast<Json::Value::UInt64>(2147483648ull);
16 TestMsg msg;
17 EXPECT_FALSE(JsonUtil::JsonValueToProtobufMessage(json_value, &msg));
19 @@ -805,7 +805,7 @@
22 Json::Value json_value;
23 - json_value[kNumU32ValueKeys[i]] = 4294967296ull;
24 + json_value[kNumU32ValueKeys[i]] = static_cast<Json::Value::UInt64>(4294967296ull);
25 TestMsg msg;
26 EXPECT_FALSE(JsonUtil::JsonValueToProtobufMessage(json_value, &msg));