History

fix a cast, move a packet

Stephen Birarda committed 11 years ago

Commit cf15cbc1 parent c5840d03 files · +11 −11Browse files

Showing the changes to interface/src/Application.cpp (1 of 3 files). Show all

Unified · Split

interface/src/Application.cpp+1−1
@@ -2885,7 +2885,7 @@ void Application::queryOctree(NodeType_t serverType, PacketType::Value packetTyp · 2884 unmodified lines
2885 }2885 }
2886 2886
2887 // encode the query data2887 // 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 socket2891 // make sure we still have an active socket