mirror of
https://github.com/Expand-sys/CCash
synced 2026-03-22 20:47:10 +11:00
made system indepdent
This commit is contained in:
parent
7646d4861e
commit
37dbe3a3c6
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue