Warning fix.

This commit is contained in:
David Given
2019-03-24 10:40:14 +01:00
parent a79f3dff1e
commit 9b78c34fad

View File

@@ -19,7 +19,7 @@ SectorVector AbstractIbmDecoder::decodeToSectors(const RawRecordVector& rawRecor
for (auto& rawrecord : rawRecords) for (auto& rawrecord : rawRecords)
{ {
const Bytes bytes = decodeFmMfm(rawrecord->data); const Bytes bytes = decodeFmMfm(rawrecord->data);
int headerSize = skipHeaderBytes(); unsigned headerSize = skipHeaderBytes();
if (bytes.size() < (headerSize + 1)) if (bytes.size() < (headerSize + 1))
continue; continue;
Bytes data = bytes.slice(headerSize, bytes.size() - headerSize); Bytes data = bytes.slice(headerSize, bytes.size() - headerSize);