mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 16:13:28 +02:00
darnit I hate casts..
This commit is contained in:
parent
0200ac9da8
commit
61a905961e
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ bool OctreePacketData::compressContent() {
|
|||
|
||||
QByteArray compressedData = qCompress(uncompressedData, uncompressedSize, MAX_COMPRESSION);
|
||||
|
||||
if (compressedData.size() < MAX_OCTREE_PACKET_DATA_SIZE) {
|
||||
if (compressedData.size() < (int)MAX_OCTREE_PACKET_DATA_SIZE) {
|
||||
_compressedBytes = compressedData.size();
|
||||
for (int i = 0; i < _compressedBytes; i++) {
|
||||
_compressed[i] = compressedData[i];
|
||||
|
|
Loading…
Reference in a new issue