fix json uint64

This commit is contained in:
sehraf 2018-06-28 20:25:10 +02:00
parent 502459a25a
commit f7625e3526
No known key found for this signature in database
GPG Key ID: DF09F6EAE356B2C6

View File

@ -291,8 +291,8 @@ bool RsTypeSerializer::from_JSON( const std::string& memberName,
uint64_t& member, RsJson& jDoc )
{
SAFE_GET_JSON_V();
ret = ret && v.IsUint();
if(ret) member = v.GetUint();
ret = ret && v.IsUint64();
if(ret) member = v.GetUint64();
return ret;
}