diff Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 3963:3b0c555f16a3

fix msvc2008
author s.jodogne@gmail.com
date Thu, 21 May 2020 10:47:58 +0200
parents 0b59e2706366
children bf35c4628777
line wrap: on
line diff
--- a/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Wed May 20 20:53:59 2020 +0200
+++ b/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Thu May 21 10:47:58 2020 +0200
@@ -1181,7 +1181,7 @@
 
     size_t GetSize() const
     {
-      return OrthancPluginGetInstanceSize(GetGlobalContext(), instance_);
+      return static_cast<size_t>(OrthancPluginGetInstanceSize(GetGlobalContext(), instance_));
     }
 
     void GetJson(Json::Value& target) const;