changeset 873:78f4317eb94b am-dev

fix compil
author Alain Mazy <alain@mazy.be>
date Mon, 01 Jul 2019 18:18:58 +0200
parents 733c6db3e5a3
children debb70fa10b5
files Resources/CodeGeneration/template.in.h.j2
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CodeGeneration/template.in.h.j2	Mon Jul 01 13:36:51 2019 +0200
+++ b/Resources/CodeGeneration/template.in.h.j2	Mon Jul 01 18:18:58 2019 +0200
@@ -51,7 +51,7 @@
 
   inline Json::Value _StoneSerializeValue(int64_t value)
   {
-    Json::Value result(value);
+    Json::Value result(static_cast<Json::Value::Int64>(value));
     return result;
   }
 
@@ -79,7 +79,7 @@
 
   inline Json::Value _StoneSerializeValue(uint64_t value)
   {
-    Json::Value result(value);
+    Json::Value result(static_cast<Json::Value::UInt64>(value));
     return result;
   }