mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Warning fix.
This commit is contained in:
@@ -19,7 +19,7 @@ SectorVector AbstractIbmDecoder::decodeToSectors(const RawRecordVector& rawRecor
|
||||
for (auto& rawrecord : rawRecords)
|
||||
{
|
||||
const Bytes bytes = decodeFmMfm(rawrecord->data);
|
||||
int headerSize = skipHeaderBytes();
|
||||
unsigned headerSize = skipHeaderBytes();
|
||||
if (bytes.size() < (headerSize + 1))
|
||||
continue;
|
||||
Bytes data = bytes.slice(headerSize, bytes.size() - headerSize);
|
||||
|
||||
Reference in New Issue
Block a user