diff OrthancFramework/Sources/DicomFormat/DicomMap.cpp @ 4788:b47ee86a0d10

support 64 bit integers in DICOMweb
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 06 Sep 2021 22:13:07 +0200
parents 11c2ddb4e2ca
children 7053502fbf97
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomFormat/DicomMap.cpp	Tue Aug 31 12:49:39 2021 +0200
+++ b/OrthancFramework/Sources/DicomFormat/DicomMap.cpp	Mon Sep 06 22:13:07 2021 +0200
@@ -1406,11 +1406,11 @@
                 break;
               
               case Json::intValue:
-                s += boost::lexical_cast<std::string>(value[j].asInt());
+                s += boost::lexical_cast<std::string>(value[j].asInt64());
                 break;
               
               case Json::uintValue:
-                s += boost::lexical_cast<std::string>(value[j].asUInt());
+                s += boost::lexical_cast<std::string>(value[j].asUInt64());
                 break;
               
               case Json::realValue: