| Server IP : 82.208.35.60 / Your IP : 216.73.216.168 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/biology/jellyfish/files/ |
Upload File : |
--- lib/jsoncpp.cpp.orig 2018-04-16 12:46:09 UTC
+++ lib/jsoncpp.cpp
@@ -2300,7 +2300,7 @@ Value::asInt64() const
JSON_ASSERT_MESSAGE( value_.uint_ <= UInt64(maxInt64), "unsigned integer out of Int64 range" );
return value_.uint_;
case realValue:
- JSON_ASSERT_MESSAGE( value_.real_ >= minInt64 && value_.real_ <= maxInt64, "Real out of Int64 range" );
+ JSON_ASSERT_MESSAGE( value_.real_ >= minInt64 && value_.real_ < static_cast<double>(maxInt64), "Real out of Int64 range" );
return Int( value_.real_ );
case booleanValue:
return value_.bool_ ? 1 : 0;
@@ -2328,7 +2328,7 @@ Value::asUInt64() const
case uintValue:
return value_.uint_;
case realValue:
- JSON_ASSERT_MESSAGE( value_.real_ >= 0 && value_.real_ <= maxUInt64, "Real out of UInt64 range" );
+ JSON_ASSERT_MESSAGE( value_.real_ >= 0 && value_.real_ < static_cast<double>(maxUInt64), "Real out of UInt64 range" );
return UInt( value_.real_ );
case booleanValue:
return value_.bool_ ? 1 : 0;