changeset 3514:97a3631ca689

fix type in sdk
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 05 Sep 2019 18:03:59 +0200
parents 4bced7d1ec20
children 13f9ccf05a8e
files Plugins/Include/orthanc/OrthancCPlugin.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Include/orthanc/OrthancCPlugin.h	Wed Sep 04 18:23:22 2019 +0200
+++ b/Plugins/Include/orthanc/OrthancCPlugin.h	Thu Sep 05 18:03:59 2019 +0200
@@ -1915,7 +1915,7 @@
   typedef struct
   {
     OrthancPluginRestOutput* output;
-    const char*              answer;
+    const void*              answer;
     uint32_t                 answerSize;
     const char*              mimeType;
   } _OrthancPluginAnswerBuffer;
@@ -1935,7 +1935,7 @@
   ORTHANC_PLUGIN_INLINE void OrthancPluginAnswerBuffer(
     OrthancPluginContext*    context,
     OrthancPluginRestOutput* output,
-    const char*              answer,
+    const void*              answer,
     uint32_t                 answerSize,
     const char*              mimeType)
   {