# HG changeset patch # User Sebastien Jodogne # Date 1749824509 -7200 # Node ID 88953cf7c82f09dcdcc95af280627bcc55dd36f6 # Parent 6fa6072043030f86c0537edb7f167ec510a8ffeb fix compatibility with Sdk 0.9.5 diff -r 6fa607204303 -r 88953cf7c82f OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp --- a/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp Fri Jun 13 16:15:48 2025 +0200 +++ b/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp Fri Jun 13 16:21:49 2025 +0200 @@ -686,7 +686,7 @@ { OrthancString str; str.Assign(OrthancPluginDicomBufferToJson - (GetGlobalContext(), GetData(), GetSize(), format, flags, maxStringLength)); + (GetGlobalContext(), reinterpret_cast(GetData()), GetSize(), format, flags, maxStringLength)); str.ToJson(target); }