Fix compile error with JSON uint64_t 🚯

This commit is contained in:
Benjamin Sergeant 2019-06-04 13:45:29 -07:00
parent 539abe5151
commit 012193c74e
3 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
docker/Dockerfile.alpine docker/Dockerfile.ubuntu_artful

View File

@ -88,7 +88,7 @@ namespace ix
ss >> lineno; ss >> lineno;
Json::Value frame; Json::Value frame;
frame["lineno"] = lineno; frame["lineno"] = Json::UInt64(lineno);
frame["filename"] = fileName; frame["filename"] = fileName;
frame["function"] = function; frame["function"] = function;

View File

@ -184,7 +184,7 @@ namespace ix
msg["data"] = data; msg["data"] = data;
msg["session"] = _session; msg["session"] = _session;
msg["version"] = kVersion; msg["version"] = kVersion;
msg["timestamp"] = getMillisecondsSinceEpoch(); msg["timestamp"] = Json::UInt64(getMillisecondsSinceEpoch());
{ {
std::lock_guard<std::mutex> lock(_device_mutex); std::lock_guard<std::mutex> lock(_device_mutex);