mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 08:32:13 +11:00
🐛 error on cast
This commit is contained in:
parent
8d6921b70d
commit
117bd33ca0
1 changed files with 3 additions and 3 deletions
|
|
@ -27,11 +27,11 @@ constexpr Json::Value JsonCast(T &&val)
|
||||||
}
|
}
|
||||||
else if constexpr (std::is_same_v<T, uint64_t>)
|
else if constexpr (std::is_same_v<T, uint64_t>)
|
||||||
{
|
{
|
||||||
return (Json::Int64)val;
|
return (Json::UInt64)val;
|
||||||
}
|
}
|
||||||
else if constexpr (std::is_same_v<T, int64_t>)
|
else if constexpr (std::is_same_v<T, uint32_t>)
|
||||||
{
|
{
|
||||||
return (Json::Int64)val;
|
return (Json::UInt)val;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue