diff --git a/include/bank_f.hpp b/include/bank_f.hpp index 121f086..2113e40 100644 --- a/include/bank_f.hpp +++ b/include/bank_f.hpp @@ -15,13 +15,13 @@ template INLINE Json::Value JsonReturn(T &&val) { Json::Value res; - if constexpr (std::is_same_v) + if constexpr (std::is_same_v) { res["value"] = (int)val; //becuase of json lib interpreting 67 as 'A' for example } else if constexpr (std::is_same_v) { - res["value"] = (Json::UInt64)val; + res["value"] = (Json::Int64)val; } else {