Issue 1021: Fix clang 10 compilation (#1023)

This patch fixes an implicit long to double conversion, fixing
compilation on the as-of-yet unreleased clang v10.
diff --git a/src/lib_json/json_value.cpp b/src/lib_json/json_value.cpp
index 730794d..152f2ab 100644
--- a/src/lib_json/json_value.cpp
+++ b/src/lib_json/json_value.cpp
@@ -94,8 +94,7 @@
 static inline bool InRange(double d, T min, U max) {
   // The casts can lose precision, but we are looking only for
   // an approximate range. Might fail on edge cases though. ~cdunn
-  // return d >= static_cast<double>(min) && d <= static_cast<double>(max);
-  return d >= min && d <= max;
+  return d >= static_cast<double>(min) && d <= static_cast<double>(max);
 }
 #else  // if !defined(JSON_USE_INT64_DOUBLE_CONVERSION)
 static inline double integerToDouble(Json::UInt64 value) {