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 cf86c47 commit fbe1cf3Copy full SHA for fbe1cf3
src/test_lib_json/main.cpp
@@ -39,7 +39,7 @@ static inline double uint64ToDouble(Json::UInt64 value) {
39
#else // if !defined(JSON_USE_INT64_DOUBLE_CONVERSION)
40
static inline double uint64ToDouble(Json::UInt64 value) {
41
return static_cast<double>(Json::Int64(value / 2)) * 2.0 +
42
- Json::Int64(value & 1);
+ static_cast<double>(Json::Int64(value & 1));
43
}
44
#endif // if !defined(JSON_USE_INT64_DOUBLE_CONVERSION)
45
0 commit comments