made system indepdent

This commit is contained in:
EntireTwix 2021-06-09 19:36:39 -07:00
parent 7646d4861e
commit 37dbe3a3c6

View file

@ -19,7 +19,7 @@ INLINE Json::Value JsonReturn(T &&val)
{ {
res["value"] = (int)val; //becuase of json lib interpreting 67 as 'A' for example res["value"] = (int)val; //becuase of json lib interpreting 67 as 'A' for example
} }
else if constexpr (std::is_same_v<T, long>) else if constexpr (std::is_same_v<T, uint64_t>)
{ {
res["value"] = (Json::Int64)val; res["value"] = (Json::Int64)val;
} }