mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 17:53:32 +02:00
type squish in NodeList
This commit is contained in:
parent
38a33e0283
commit
6804ab8a33
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ void NodeList::timePingReply(sockaddr *nodeAddress, unsigned char *packetData) {
|
|||
if (socketMatch(node->getPublicSocket(), nodeAddress) ||
|
||||
socketMatch(node->getLocalSocket(), nodeAddress)) {
|
||||
|
||||
int pingTime = usecTimestampNow() - *(uint64_t *)(packetData + numBytesForPacketHeader(packetData));
|
||||
int pingTime = usecTimestampNow() - *(uint64_t*)(packetData + numBytesForPacketHeader(packetData));
|
||||
|
||||
node->setPingMs(pingTime / 1000);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue