Mercurial > hg > orthanc
changeset 5576:3a6d6d35193c
fix build of Housekeeper plugin
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 26 Apr 2024 17:41:40 +0200 |
parents | d7eaa568da15 |
children | 9e74e761b108 4bd7abdfb9cf |
files | OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp OrthancServer/Sources/OrthancRestApi/OrthancRestArchive.cpp |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp Fri Apr 26 17:17:34 2024 +0200 +++ b/OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp Fri Apr 26 17:41:40 2024 +0200 @@ -23,6 +23,7 @@ #define HOUSEKEEPER_NAME "housekeeper" #include "../Common/OrthancPluginCppWrapper.h" +#include "../../../../OrthancFramework/Sources/Compatibility.h" #include <boost/thread.hpp> #include <boost/algorithm/string.hpp>
--- a/OrthancServer/Sources/OrthancRestApi/OrthancRestArchive.cpp Fri Apr 26 17:17:34 2024 +0200 +++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestArchive.cpp Fri Apr 26 17:41:40 2024 +0200 @@ -600,7 +600,7 @@ ServerContext& context = OrthancRestApi::GetContext(call); bool transcode = false; - DicomTransferSyntax transferSyntax; + DicomTransferSyntax transferSyntax = DicomTransferSyntax_LittleEndianImplicit; // Initialize variable to avoid warnings if (call.HasArgument(TRANSCODE)) {