# HG changeset patch # User Sebastien Jodogne # Date 1720020547 -7200 # Node ID 240fac923e8dcfb7efdec98dd9d5fb9471773c3f # Parent f764ba66e409311ec1541c6fe4fbe1372abcf905 sync diff -r f764ba66e409 -r 240fac923e8d Resources/Orthanc/Sdk-1.10.0/orthanc/OrthancCPlugin.h --- a/Resources/Orthanc/Sdk-1.10.0/orthanc/OrthancCPlugin.h Wed Jul 03 17:00:18 2024 +0200 +++ b/Resources/Orthanc/Sdk-1.10.0/orthanc/OrthancCPlugin.h Wed Jul 03 17:29:07 2024 +0200 @@ -3877,7 +3877,7 @@ _OrthancPluginSendHttpStatus params; params.output = output; params.status = status; - params.body = reinterpret_cast(body); + params.body = (const char*) body; params.bodySize = bodySize; context->InvokeService(context, _OrthancPluginService_SendHttpStatus, ¶ms); } diff -r f764ba66e409 -r 240fac923e8d Resources/SyncOrthancFolder.py --- a/Resources/SyncOrthancFolder.py Wed Jul 03 17:00:18 2024 +0200 +++ b/Resources/SyncOrthancFolder.py Wed Jul 03 17:29:07 2024 +0200 @@ -12,7 +12,7 @@ import urllib.request TARGET = os.path.join(os.path.dirname(__file__), 'Orthanc') -ORTHANC_JAVA_VERSION = '1.0' +ORTHANC_JAVA_VERSION = 'default' PLUGIN_SDK_VERSION = '1.10.0' ORTHANC_CORE_REPOSITORY = 'https://orthanc.uclouvain.be/hg/orthanc/raw-file' ORTHANC_JAVA_REPOSITORY = 'https://orthanc.uclouvain.be/hg/orthanc-java/raw-file' @@ -72,7 +72,7 @@ commands.append([ ORTHANC_JAVA_REPOSITORY, - 'OrthancJava-%s' % ORTHANC_JAVA_VERSION, + ORTHANC_JAVA_VERSION, 'Resources/Orthanc/Sdk-%s/orthanc/OrthancCPlugin.h' % PLUGIN_SDK_VERSION, 'Sdk-%s/orthanc/OrthancCPlugin.h' % PLUGIN_SDK_VERSION, ]) @@ -86,7 +86,7 @@ ]: commands.append([ ORTHANC_JAVA_REPOSITORY, - 'OrthancJava-%s' % ORTHANC_JAVA_VERSION, + ORTHANC_JAVA_VERSION, 'CodeGeneration/%s' % f, 'Sdk-%s/%s' % (PLUGIN_SDK_VERSION, f), ])