1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-03-10 12:21:12 +00:00

Fix wrong size

Fix up cf96e6c64266bf11ba9cf3dc7d2eaf7628c6d7a9.
This commit is contained in:
Chocobo1 2022-02-12 01:28:08 +08:00
parent 56c3983885
commit 70eed10a34
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C

View File

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