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 912d550 commit cc2c15cCopy full SHA for cc2c15c
src/test_lib_json/main.cpp
@@ -1212,7 +1212,7 @@ JSONTEST_FIXTURE(ValueTest, nonIntegers) {
1212
JSONTEST_ASSERT_EQUAL(-2147483648.5, val.asDouble());
1213
JSONTEST_ASSERT_EQUAL(float(-2147483648.5), val.asFloat());
1214
#ifdef JSON_HAS_INT64
1215
- JSONTEST_ASSERT_EQUAL(-Json::Int64(1) << 31, val.asLargestInt());
+ JSONTEST_ASSERT_EQUAL(-(Json::Int64(1) << 31), val.asLargestInt());
1216
#endif
1217
JSONTEST_ASSERT_EQUAL(true, val.asBool());
1218
JSONTEST_ASSERT_EQUAL("-2147483648.5",
0 commit comments