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
28852885 }
28862886
28872887 // encode the query data
2888− int packetSize = _octreeQuery.getBroadcastData(queryPacket->getPayload());
2888+ int packetSize = _octreeQuery.getBroadcastData(reinterpret_cast<unsigned char*>(queryPacket->getPayload()));
28892889 queryPacket->setSizeUsed(packetSize);
28902890
28912891 // make sure we still have an active socket