changeset 3451:1bcc35e4615a

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 27 Jun 2019 16:49:31 +0200
parents bab2a84a6697
children 0013818bf6d4
files Core/DicomNetworking/Internals/CommandDispatcher.cpp Core/DicomNetworking/Internals/FindScp.cpp
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Core/DicomNetworking/Internals/CommandDispatcher.cpp	Wed Jun 26 08:04:57 2019 +0200
+++ b/Core/DicomNetworking/Internals/CommandDispatcher.cpp	Thu Jun 27 16:49:31 2019 +0200
@@ -459,7 +459,7 @@
       // The global variable "numberOfDcmAllStorageSOPClassUIDs" is
       // only published if DCMTK >= 3.6.2:
       // https://bitbucket.org/sjodogne/orthanc/issues/137
-      assert(count == numberOfDcmAllStorageSOPClassUIDs);
+      assert(static_cast<int>(count) == numberOfDcmAllStorageSOPClassUIDs);
 #endif
       
       cond = ASC_acceptContextsWithPreferredTransferSyntaxes(
--- a/Core/DicomNetworking/Internals/FindScp.cpp	Wed Jun 26 08:04:57 2019 +0200
+++ b/Core/DicomNetworking/Internals/FindScp.cpp	Thu Jun 27 16:49:31 2019 +0200
@@ -83,6 +83,7 @@
 #include "../../PrecompiledHeaders.h"
 #include "FindScp.h"
 
+#include "../../DicomFormat/DicomArray.h"
 #include "../../DicomParsing/FromDcmtkBridge.h"
 #include "../../DicomParsing/ToDcmtkBridge.h"
 #include "../../Logging.h"