tentative gcc build fix
This commit is contained in:
		| @@ -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()); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user