Browse Source

Fix wrong size

Fix up cf96e6c642.
adaptive-webui-19844
Chocobo1 3 years ago
parent
commit
70eed10a34
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/base/bittorrent/ltqbitarray.cpp

2
src/base/bittorrent/ltqbitarray.cpp

@ -65,6 +65,6 @@ namespace BitTorrent::LT @@ -65,6 +65,6 @@ namespace BitTorrent::LT
for (int i = 0; i < dataLength; ++i)
tmp[i] = reverseByte(bitsData[i]);
return QBitArray::fromBits(tmp.data(), tmp.size());
return QBitArray::fromBits(tmp.data(), bits.size());
}
}

Loading…
Cancel
Save