Skip to content
Snippets Groups Projects
Commit 5e16f03e authored by Adrien Béraud's avatar Adrien Béraud
Browse files

jams: support large integers for timestamp

Change-Id: Ibd1cc34e36ba3446907674d6c54d35aeb70cc8e3
parent eb9054e5
No related branches found
No related tags found
No related merge requests found
...@@ -54,8 +54,8 @@ struct Contact ...@@ -54,8 +54,8 @@ struct Contact
Contact() = default; Contact() = default;
Contact(const Json::Value& json) Contact(const Json::Value& json)
{ {
added = json["added"].asInt(); added = json["added"].asLargestUInt();
removed = json["removed"].asInt(); removed = json["removed"].asLargestUInt();
confirmed = json["confirmed"].asBool(); confirmed = json["confirmed"].asBool();
banned = json["banned"].asBool(); banned = json["banned"].asBool();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment