mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 05:33:55 +02:00
fix warning
This commit is contained in:
parent
0b43685f1e
commit
edc132efce
1 changed files with 2 additions and 2 deletions
|
@ -699,7 +699,7 @@ int OctreePacketData::unpackDataFromBytes(const unsigned char *dataBytes, QVecto
|
|||
dataBytes += unpackOrientationQuatFromBytes(dataBytes, result[i]);
|
||||
}
|
||||
|
||||
return (dataBytes - start) + sizeof(uint16_t);
|
||||
return (dataBytes - start) + (int)sizeof(uint16_t);
|
||||
}
|
||||
|
||||
int OctreePacketData::unpackDataFromBytes(const unsigned char* dataBytes, QVector<float>& result) {
|
||||
|
@ -728,7 +728,7 @@ int OctreePacketData::unpackDataFromBytes(const unsigned char* dataBytes, QVecto
|
|||
bit = (bit + 1) % BITS_IN_BYTE;
|
||||
}
|
||||
|
||||
return (dataBytes - start) + sizeof(uint16_t);
|
||||
return (dataBytes - start) + (int)sizeof(uint16_t);
|
||||
}
|
||||
|
||||
int OctreePacketData::unpackDataFromBytes(const unsigned char* dataBytes, QByteArray& result) {
|
||||
|
|
Loading…
Reference in a new issue