Showing the changes to interface/src/Application.cpp (1 of 3 files). Show all
Unified · Split
| @@ -2885,7 +2885,7 @@ void Application::queryOctree(NodeType_t serverType, PacketType::Value packetTyp · 2884 unmodified lines | |||
| 2885 | } | 2885 | } |
| 2886 | 2886 | ||
| 2887 | // encode the query data | 2887 | // encode the query data |
| 2888 | int packetSize = _octreeQuery.getBroadcastData(queryPacket->getPayload()); | 2888 | int packetSize = _octreeQuery.getBroadcastData(reinterpret_cast<unsigned char*>(queryPacket->getPayload())); |
| 2889 | queryPacket->setSizeUsed(packetSize); | 2889 | queryPacket->setSizeUsed(packetSize); |
| 2890 | 2890 | ||
| 2891 | // make sure we still have an active socket | 2891 | // make sure we still have an active socket |