tentative gcc build fix

This commit is contained in:
Benjamin Sergeant 2019-08-26 14:29:16 -07:00
parent 217d0650f4
commit 95d633e71e

View File

@ -245,7 +245,7 @@ namespace ix
Json::Value pdu;
pdu["action"] = "auth/handshake";
pdu["body"] = body;
pdu["id"] = _id++;
pdu["id"] = Json::UInt64(_id++);
std::string serializedJson = serializeJson(pdu);
CobraConnection::invokeTrafficTrackerCallback(serializedJson.size(), false);
@ -308,7 +308,7 @@ namespace ix
Json::Value pdu;
pdu["action"] = "auth/authenticate";
pdu["body"] = body;
pdu["id"] = _id++;
pdu["id"] = Json::UInt64(_id++);
std::string serializedJson = serializeJson(pdu);
CobraConnection::invokeTrafficTrackerCallback(serializedJson.size(), false);
@ -405,7 +405,7 @@ namespace ix
_body["channels"] = channels;
_body["message"] = msg;
_pdu["body"] = _body;
_pdu["id"] = _id++;
_pdu["id"] = Json::UInt64(_id++);
std::string serializedJson = serializeJson(_pdu);
@ -448,7 +448,7 @@ namespace ix
Json::Value pdu;
pdu["action"] = "rtm/subscribe";
pdu["body"] = body;
pdu["id"] = _id++;
pdu["id"] = Json::UInt64(_id++);
_webSocket->send(pdu.toStyledString());
@ -474,7 +474,7 @@ namespace ix
Json::Value pdu;
pdu["action"] = "rtm/unsubscribe";
pdu["body"] = body;
pdu["id"] = _id++;
pdu["id"] = Json::UInt64(_id++);
_webSocket->send(pdu.toStyledString());
}