diff OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h @ 5076:25844bc0b2cb

fix signature of OrthancPluginSendHttpStatus() for the "body" argument
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 16 Aug 2022 16:09:59 +0200
parents eb657d880427
children 201a500dcff4
line wrap: on
line diff
--- a/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h	Tue Aug 16 12:46:46 2022 +0200
+++ b/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h	Tue Aug 16 16:09:59 2022 +0200
@@ -3830,7 +3830,7 @@
   {
     OrthancPluginRestOutput* output;
     uint16_t                 status;
-    const char*              body;
+    const void*              body;
     uint32_t                 bodySize;
   } _OrthancPluginSendHttpStatus;
 
@@ -3860,7 +3860,7 @@
     OrthancPluginContext*    context,
     OrthancPluginRestOutput* output,
     uint16_t                 status,
-    const char*              body,
+    const void*              body,
     uint32_t                 bodySize)
   {
     _OrthancPluginSendHttpStatus params;