diff --git a/lib/coek/coek/util/DataPortal.cpp b/lib/coek/coek/util/DataPortal.cpp index b6c5183d..568bd22c 100644 --- a/lib/coek/coek/util/DataPortal.cpp +++ b/lib/coek/coek/util/DataPortal.cpp @@ -239,7 +239,7 @@ void load_param_data(T& obj, DataPortalRepn::ParameterTypes& param_variant, // Double parameter // if (obj.IsInt()) - param_variant = obj.GetInt(); + param_variant = static_cast(obj.GetInt()); else if (obj.IsDouble()) param_variant = obj.GetDouble(); else