We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffea45b commit 22ec823Copy full SHA for 22ec823
src/test_lib_json/main.cpp
@@ -1215,7 +1215,7 @@ JSONTEST_FIXTURE(ValueTest, nonIntegers) {
1215
JSONTEST_ASSERT_EQUAL(-2147483648.5, val.asDouble());
1216
JSONTEST_ASSERT_EQUAL(float(-2147483648.5), val.asFloat());
1217
#ifdef JSON_HAS_INT64
1218
- JSONTEST_ASSERT_EQUAL(-Json::Int64(1) << 31, val.asLargestInt());
+ JSONTEST_ASSERT_EQUAL(-(Json::Int64(1) << 31), val.asLargestInt());
1219
#endif
1220
JSONTEST_ASSERT_EQUAL(true, val.asBool());
1221
JSONTEST_ASSERT_EQUAL("-2147483648.5",
0 commit comments